Home
last modified time | relevance | path

Searched refs:flatshade_first (Results 1 – 25 of 65) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_prim_vbuf.c167 const boolean flatshade_first = softpipe->rasterizer->flatshade_first; in sp_vbuf_draw_elements() local
217 if (flatshade_first) { in sp_vbuf_draw_elements()
239 if (flatshade_first) { in sp_vbuf_draw_elements()
261 if (flatshade_first) { in sp_vbuf_draw_elements()
293 if (flatshade_first) { in sp_vbuf_draw_elements()
325 if (flatshade_first) { in sp_vbuf_draw_elements()
364 const boolean flatshade_first = softpipe->rasterizer->flatshade_first; in sp_vbuf_draw_arrays() local
439 if (flatshade_first) { in sp_vbuf_draw_arrays()
460 if (flatshade_first) { in sp_vbuf_draw_arrays()
481 if (flatshade_first) { in sp_vbuf_draw_arrays()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_vbuf.c170 const boolean flatshade_first = setup->flatshade_first; in lp_setup_draw_elements() local
241 if (flatshade_first) { in lp_setup_draw_elements()
263 if (flatshade_first) { in lp_setup_draw_elements()
285 if (flatshade_first) { in lp_setup_draw_elements()
317 if (flatshade_first) { in lp_setup_draw_elements()
349 if (flatshade_first) { in lp_setup_draw_elements()
386 const boolean flatshade_first = setup->flatshade_first; in lp_setup_draw_arrays() local
461 if (flatshade_first) { in lp_setup_draw_arrays()
524 else if (flatshade_first) { in lp_setup_draw_arrays()
546 if (flatshade_first) { in lp_setup_draw_arrays()
[all …]
Dlp_state_setup.h24 unsigned flatshade_first:1; member
Dlp_setup_context.h102 unsigned flatshade_first:1; member
Dlp_state_setup.c483 if (key->flatshade_first) { in emit_tri_coef()
764 key->flatshade_first = lp->rasterizer->flatshade_first; in lp_make_setup_variant_key()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_clip.c227 if (stage->draw->rasterizer->flatshade_first) { in emit_poly()
248 if (stage->draw->rasterizer->flatshade_first) { in emit_poly()
269 stage->draw->rasterizer->flatshade_first); in emit_poly()
376 if (stage->draw->rasterizer->flatshade_first) { in do_clip_tri()
542 if (stage->draw->rasterizer->flatshade_first) { in do_clip_tri()
587 if (stage->draw->rasterizer->flatshade_first) { in do_clip_line()
621 if (stage->draw->rasterizer->flatshade_first) { in do_clip_line()
635 if (stage->draw->rasterizer->flatshade_first) { in do_clip_line()
Ddraw_pt_decompose.h6 !draw->rasterizer->flatshade_first;
Ddraw_so_emit_tmp.h13 const boolean last_vertex_last = !so->draw->rasterizer->flatshade_first; \
Ddraw_prim_assembler_tmp.h12 const boolean last_vertex_last = !asmblr->draw->rasterizer->flatshade_first; \
Ddraw_gs_tmp.h13 const boolean last_vertex_last = !gs->draw->rasterizer->flatshade_first; \
/third_party/mesa3d/src/util/indices/
Du_primconvert.c92 util_primconvert_save_flatshade_first(pc, rast->flatshade_first); in util_primconvert_save_rasterizer_state()
96 util_primconvert_save_flatshade_first(struct primconvert_context *pc, bool flatshade_first) in util_primconvert_save_flatshade_first() argument
102 pc->api_pv = flatshade_first ? PV_FIRST : PV_LAST; in util_primconvert_save_flatshade_first()
Du_primconvert.h54 util_primconvert_save_flatshade_first(struct primconvert_context *pc, bool flatshade_first);
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_draw.h45 boolean flatshade, boolean flatshade_first);
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.h79 void u_vbuf_set_flatshade_first(struct u_vbuf *mgr, bool flatshade_first);
Du_vbuf.c161 bool flatshade_first; member
426 void u_vbuf_set_flatshade_first(struct u_vbuf *mgr, bool flatshade_first) in u_vbuf_set_flatshade_first() argument
428 mgr->flatshade_first = flatshade_first; in u_vbuf_set_flatshade_first()
1785 util_primconvert_save_flatshade_first(mgr->pc, mgr->flatshade_first); in u_vbuf_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rasterizer.c64 COND(!so->flatshade_first, VIVS_PA_SYSTEM_MODE_PROVOKING_VERTEX_LAST) | in etna_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_rasterizer.c93 if (!cso->flatshade_first) in fd3_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_rasterizer.c86 if (!cso->flatshade_first) in fd5_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_rasterizer.c93 if (!cso->flatshade_first) in fd4_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_rasterizer.c87 if (!cso->flatshade_first) in fd2_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_rasterizer.c77 A6XX_PC_PRIMITIVE_CNTL_0(.provoking_vtx_last = !cso->flatshade_first, in __fd6_setup_rasterizer_stateobj()
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c114 bool flatshade_first, flatshade_first_saved; member
600 ctx->flatshade_first = templ->flatshade_first; in cso_set_rasterizer()
602 u_vbuf_set_flatshade_first(ctx->vbuf, ctx->flatshade_first); in cso_set_rasterizer()
613 ctx->flatshade_first_saved = ctx->flatshade_first; in cso_save_rasterizer()
621 ctx->flatshade_first = ctx->flatshade_first_saved; in cso_restore_rasterizer()
623 u_vbuf_set_flatshade_first(ctx->vbuf, ctx->flatshade_first); in cso_restore_rasterizer()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compiler.h207 unsigned flatshade_first:1; member
Dd3d12_compiler.cpp449 bool flatshade_first = sel_ctx->ctx->gfx_pipeline_state.rast && in get_provoking_vertex() local
450 sel_ctx->ctx->gfx_pipeline_state.rast->base.flatshade_first; in get_provoking_vertex()
454 return flatshade_first ? 0 : u_prim_vertex_count(mode)->min - 1; in get_provoking_vertex()
614 key.flatshade_first = ctx->gfx_pipeline_state.rast->base.flatshade_first; in validate_geometry_shader_variant()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DRasterizer.cpp213 state.flatshade_first = 1; in CreateRasterizerState()

123