Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_pipeline_state.cpp117 depth_bias(struct d3d12_rasterizer_state *state, enum pipe_prim_type reduced_prim) in depth_bias() argument
121 if (reduced_prim != PIPE_PRIM_TRIANGLES) in depth_bias()
143 topology_type(enum pipe_prim_type reduced_prim) in topology_type() argument
145 switch (reduced_prim) { in topology_type()
159 debug_printf("pipe_prim_type: %s\n", u_prim_name(reduced_prim)); in topology_type()
190 enum pipe_prim_type reduced_prim = u_reduced_prim(state->prim_type); in create_gfx_pipeline_state() local
238 if (reduced_prim != PIPE_PRIM_TRIANGLES) in create_gfx_pipeline_state()
241 if (depth_bias(state->rast, reduced_prim)) { in create_gfx_pipeline_state()
252 pso_desc.PrimitiveTopologyType = topology_type(reduced_prim); in create_gfx_pipeline_state()
Dd3d12_draw.cpp500 enum pipe_prim_type reduced_prim = u_reduced_prim((enum pipe_prim_type)dinfo->mode); in d3d12_draw_vbo() local
501 if (reduced_prim == PIPE_PRIM_TRIANGLES && in d3d12_draw_vbo()
/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_tgsi_transform.c448 if (svga->curr.reduced_prim == PIPE_PRIM_POINTS) { in update_tgsi_transform()
Dsvga_state_fs.c227 prim_mode = svga->curr.reduced_prim; in make_fs_key()
Dsvga_context.h313 enum pipe_prim_type reduced_prim; member
Dsvga_state_rss.c463 if (svga->curr.reduced_prim == PIPE_PRIM_POINTS && in emit_rss_vgpu10()
Dsvga_state_framebuffer.c567 if (svga->curr.reduced_prim == PIPE_PRIM_POINTS && in get_viewport_prescale()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_render.c81 static const GLenum reduced_prim[GL_POLYGON + 1] = { variable
114 intel->vtbl.reduced_primitive_state(intel, reduced_prim[prim]); in intelDmaPrimitive()
193 if (reduced_prim[prim & PRIM_MODE_MASK] != rprim) { in choose_render()
195 rprim = reduced_prim[prim & PRIM_MODE_MASK]; in choose_render()
Dintel_tris.c1035 static const GLenum reduced_prim[GL_POLYGON + 1] = { variable
1162 if (reduced_prim[prim] == GL_TRIANGLES && unfilled) in intelRenderPrimitive()
1167 intelRasterPrimitive(ctx, reduced_prim[prim], hw_prim[prim]); in intelRenderPrimitive()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_validate.c54 unsigned reduced_prim = u_reduced_prim(prim); in draw_need_pipeline() local
70 if (reduced_prim == PIPE_PRIM_LINES) { in draw_need_pipeline()
86 else if (reduced_prim == PIPE_PRIM_POINTS) { in draw_need_pipeline()
107 else if (reduced_prim == PIPE_PRIM_TRIANGLES) { in draw_need_pipeline()
Ddraw_context.c1316 unsigned reduced_prim = u_reduced_prim(draw->pt.prim); in draw_will_inject_frontface() local
1319 if (reduced_prim != PIPE_PRIM_TRIANGLES) { in draw_will_inject_frontface()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_draw.cpp220 line_width_needed(enum pipe_prim_type reduced_prim, in line_width_needed() argument
223 switch (reduced_prim) { in line_width_needed()
688 enum pipe_prim_type reduced_prim = ctx->last_vertex_stage->reduced_prim; in zink_draw_vbo() local
689 if (reduced_prim == PIPE_PRIM_MAX) in zink_draw_vbo()
690 reduced_prim = u_reduced_prim(mode); in zink_draw_vbo()
693 switch (reduced_prim) { in zink_draw_vbo()
710 if (line_width_needed(reduced_prim, rast_state->hw_state.polygon_mode)) { in zink_draw_vbo()
Dzink_compiler.h73 enum pipe_prim_type reduced_prim; // PIPE_PRIM_MAX for vs member
Dzink_compiler.c1335 ret->reduced_prim = get_shader_base_prim_type(nir); in zink_shader_create()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_context.h146 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/mesa/drivers/dri/i965/
Dbrw_draw.c63 static const GLenum reduced_prim[GL_POLYGON+1] = { variable
108 if (reduced_prim[prim->mode] != brw->reduced_primitive) { in brw_set_prim()
109 brw->reduced_primitive = reduced_prim[prim->mode]; in brw_set_prim()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_state.c4810 int reduced_prim = ice->state.reduced_prim_mode; in crocus_populate_fs_key() local
4811 if (reduced_prim == PIPE_PRIM_LINES) in crocus_populate_fs_key()
4813 else if (reduced_prim == PIPE_PRIM_TRIANGLES) { in crocus_populate_fs_key()