Home
last modified time | relevance | path

Searched refs:reduced_prim (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_need_swtnl.c70 (svga->curr.rast->need_pipeline & (1 << svga->curr.reduced_prim))) { in update_need_pipeline()
74 (1 << svga->curr.reduced_prim) ); in update_need_pipeline()
82 switch (svga->curr.reduced_prim) { in update_need_pipeline()
107 if (svga->curr.rast && svga->curr.reduced_prim == PIPE_PRIM_POINTS) { in update_need_pipeline()
Dsvga_pipe_draw.c235 enum pipe_prim_type reduced_prim = u_reduced_prim(info->mode); in svga_draw_vbo() local
257 if (svga->curr.reduced_prim != reduced_prim) { in svga_draw_vbo()
258 svga->curr.reduced_prim = reduced_prim; in svga_draw_vbo()
Dsvga_swtnl_state.c59 if (svga->curr.reduced_prim == PIPE_PRIM_TRIANGLES) { in set_draw_viewport()
64 switch (svga->curr.reduced_prim) { in set_draw_viewport()
Dsvga_state_fs.c164 prim_mode = svga->curr.reduced_prim; in make_fs_key()
Dsvga_state_tgsi_transform.c454 if (svga->curr.reduced_prim == PIPE_PRIM_POINTS) { in update_tgsi_transform()
Dsvga_state_rss.c486 if (svga->curr.reduced_prim == PIPE_PRIM_POINTS && in emit_rss_vgpu10()
Dsvga_context.h345 enum pipe_prim_type reduced_prim; member
Dsvga_state_framebuffer.c563 if (svga->curr.reduced_prim == PIPE_PRIM_POINTS && in get_viewport_prescale()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_pipeline_state.cpp148 depth_bias(struct d3d12_rasterizer_state *state, enum pipe_prim_type reduced_prim) in depth_bias() argument
152 if (reduced_prim != PIPE_PRIM_TRIANGLES) in depth_bias()
174 topology_type(enum pipe_prim_type reduced_prim) in topology_type() argument
176 switch (reduced_prim) { in topology_type()
190 debug_printf("pipe_prim_type: %s\n", u_prim_name(reduced_prim)); in topology_type()
221 enum pipe_prim_type reduced_prim = state->prim_type == PIPE_PRIM_PATCHES ? in create_gfx_pipeline_state()
284 if (reduced_prim != PIPE_PRIM_TRIANGLES) in create_gfx_pipeline_state()
287 if (depth_bias(state->rast, reduced_prim)) { in create_gfx_pipeline_state()
298 pso_desc.PrimitiveTopologyType = topology_type(reduced_prim); in create_gfx_pipeline_state()
Dd3d12_draw.cpp955 enum pipe_prim_type reduced_prim = u_reduced_prim((enum pipe_prim_type)dinfo->mode); in d3d12_draw_vbo() local
956 if (reduced_prim == PIPE_PRIM_TRIANGLES && in d3d12_draw_vbo()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_validate.c54 unsigned reduced_prim = u_reduced_prim(prim); in draw_need_pipeline() local
66 if (reduced_prim == PIPE_PRIM_LINES) { in draw_need_pipeline()
81 } else if (reduced_prim == PIPE_PRIM_POINTS) { in draw_need_pipeline()
101 } else if (reduced_prim == PIPE_PRIM_TRIANGLES) { in draw_need_pipeline()
Ddraw_context.c1314 unsigned reduced_prim = u_reduced_prim(draw->pt.prim); in draw_will_inject_frontface() local
1317 if (reduced_prim != PIPE_PRIM_TRIANGLES) { in draw_will_inject_frontface()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.h83 enum pipe_prim_type reduced_prim; // PIPE_PRIM_MAX for vs member
Dzink_draw.cpp688 enum pipe_prim_type reduced_prim = ctx->last_vertex_stage->reduced_prim; in zink_draw() local
689 if (reduced_prim == PIPE_PRIM_MAX) in zink_draw()
690 reduced_prim = u_reduced_prim(mode); in zink_draw()
693 switch (reduced_prim) { in zink_draw()
Dzink_compiler.c3025 ret->reduced_prim = get_shader_base_prim_type(nir); in zink_shader_create()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_context.h138 unsigned reduced_prim; member
Dsp_setup.c782 assert(setup->softpipe->reduced_prim == PIPE_PRIM_TRIANGLES); in sp_setup_tri()
1051 assert(setup->softpipe->reduced_prim == PIPE_PRIM_LINES); in sp_setup_line()
1170 assert(setup->softpipe->reduced_prim == PIPE_PRIM_POINTS); in sp_setup_point()
Dsp_prim_vbuf.c143 cvbr->softpipe->reduced_prim = u_reduced_prim(prim); in sp_vbuf_set_primitive()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_state.c4811 int reduced_prim = ice->state.reduced_prim_mode; in crocus_populate_fs_key() local
4812 if (reduced_prim == PIPE_PRIM_LINES) in crocus_populate_fs_key()
4814 else if (reduced_prim == PIPE_PRIM_TRIANGLES) { in crocus_populate_fs_key()