Home
last modified time | relevance | path

Searched refs:flatshade_first (Results 1 – 25 of 69) 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_state_rasterizer.c122 state->lp_state.flatshade_first); in llvmpipe_bind_rasterizer_state()
Dlp_setup.h162 boolean flatshade_first );
Dlp_setup_context.h99 unsigned flatshade_first:1; member
/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/gallium/auxiliary/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.h78 void u_vbuf_set_flatshade_first(struct u_vbuf *mgr, bool flatshade_first);
/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/a5xx/
Dfd5_rasterizer.c86 if (!cso->flatshade_first) in fd5_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/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/auxiliary/cso_cache/
Dcso_context.c113 bool flatshade_first, flatshade_first_saved; member
590 ctx->flatshade_first = templ->flatshade_first; in cso_set_rasterizer()
592 u_vbuf_set_flatshade_first(ctx->vbuf, ctx->flatshade_first); in cso_set_rasterizer()
603 ctx->flatshade_first_saved = ctx->flatshade_first; in cso_save_rasterizer()
611 ctx->flatshade_first = ctx->flatshade_first_saved; in cso_restore_rasterizer()
613 u_vbuf_set_flatshade_first(ctx->vbuf, ctx->flatshade_first); in cso_restore_rasterizer()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compiler.h162 unsigned flatshade_first:1; member
Dd3d12_compiler.cpp409 bool flatshade_first = sel_ctx->ctx->gfx_pipeline_state.rast && in get_provoking_vertex() local
410 sel_ctx->ctx->gfx_pipeline_state.rast->base.flatshade_first; in get_provoking_vertex()
414 return flatshade_first ? 0 : u_prim_vertex_count(mode)->min - 1; in get_provoking_vertex()
537 key.flatshade_first = ctx->gfx_pipeline_state.rast->base.flatshade_first; in validate_geometry_shader_variant()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_rasterizer.c78 A6XX_PC_PRIMITIVE_CNTL_0(.provoking_vtx_last = !cso->flatshade_first, in __fd6_setup_rasterizer_stateobj()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_draw.cpp214 if (ctx->rasterizer->flatshade_first) { in swr_draw_vbo()
236 if (ctx->rasterizer->flatshade_first) in swr_draw_vbo()

123