/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_pipeline_state.cpp | 117 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()
|
D | d3d12_draw.cpp | 500 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/ |
D | svga_state_need_swtnl.c | 70 (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()
|
D | svga_pipe_draw.c | 235 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()
|
D | svga_swtnl_state.c | 59 if (svga->curr.reduced_prim == PIPE_PRIM_TRIANGLES) { in set_draw_viewport() 64 switch (svga->curr.reduced_prim) { in set_draw_viewport()
|
D | svga_state_tgsi_transform.c | 448 if (svga->curr.reduced_prim == PIPE_PRIM_POINTS) { in update_tgsi_transform()
|
D | svga_state_fs.c | 227 prim_mode = svga->curr.reduced_prim; in make_fs_key()
|
D | svga_context.h | 313 enum pipe_prim_type reduced_prim; member
|
D | svga_state_rss.c | 463 if (svga->curr.reduced_prim == PIPE_PRIM_POINTS && in emit_rss_vgpu10()
|
D | svga_state_framebuffer.c | 567 if (svga->curr.reduced_prim == PIPE_PRIM_POINTS && in get_viewport_prescale()
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_render.c | 81 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()
|
D | intel_tris.c | 1035 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/ |
D | draw_pipe_validate.c | 54 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()
|
D | draw_context.c | 1316 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/ |
D | zink_draw.cpp | 220 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()
|
D | zink_compiler.h | 73 enum pipe_prim_type reduced_prim; // PIPE_PRIM_MAX for vs member
|
D | zink_compiler.c | 1335 ret->reduced_prim = get_shader_base_prim_type(nir); in zink_shader_create()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_context.h | 146 unsigned reduced_prim; member
|
D | sp_setup.c | 782 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()
|
D | sp_prim_vbuf.c | 143 cvbr->softpipe->reduced_prim = u_reduced_prim(prim); in sp_vbuf_set_primitive()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw.c | 63 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/ |
D | crocus_state.c | 4810 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()
|