Home
last modified time | relevance | path

Searched refs:output_primitive (Results 1 – 25 of 42) sorted by relevance

12

/third_party/mesa3d/src/intel/compiler/
Dgfx6_gs_visitor.cpp180 if (nir->info.gs.output_primitive == GL_POINTS) { in gs_emit_vertex()
209 if (nir->info.gs.output_primitive == GL_POINTS) in gs_end_primitive()
325 if (nir->info.gs.output_primitive != GL_POINTS) { in emit_thread_end()
Dbrw_vec4_gs_visitor.cpp638 if (nir->info.gs.output_primitive == SHADER_PRIM_POINTS) { in brw_compile_gs()
800 assert(nir->info.gs.output_primitive < ARRAY_SIZE(brw::gl_prim_to_hw_prim)); in brw_compile_gs()
802 brw::gl_prim_to_hw_prim[nir->info.gs.output_primitive]; in brw_compile_gs()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_gs_variant.cpp86 nir->info.gs.output_primitive = GL_POINTS; in d3d12_make_passthrough_gs()
166 uint16_t output_primitive, in d3d12_begin_emit_primitives_gs() argument
184 nir->info.gs.output_primitive = output_primitive; in d3d12_begin_emit_primitives_gs()
Dd3d12_lower_point_sprite.c244 assert(shader->info.gs.output_primitive == GL_POINTS); in d3d12_lower_point_sprite()
313 shader->info.gs.output_primitive = GL_TRIANGLE_STRIP; in d3d12_lower_point_sprite()
Dd3d12_compiler.cpp391 return (gs->initial->info.gs.output_primitive == GL_POINTS && in needs_point_sprite_lowering()
440 mode = (enum pipe_prim_type)last_vertex_stage->current->nir->info.gs.output_primitive; in get_provoking_vertex()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.h84 unsigned output_primitive; member
Ddraw_gs.c576 u_decomposed_prims_for_vertices(shader->output_primitive, in draw_geometry_shader_run()
607 u_prim_name(shader->output_primitive)); in draw_geometry_shader_run()
681 output_prims[i].prim = shader->output_primitive; in draw_geometry_shader_run()
691 u_decomposed_prims_for_vertices(shader->output_primitive, in draw_geometry_shader_run()
825 gs->output_primitive = in draw_create_geometry_shader()
Ddraw_pt_fetch_shade_pipeline.c80 const unsigned gs_out_prim = (gs ? gs->output_primitive : in fetch_pipeline_prepare()
Ddraw_pt.c70 out_prim = draw->gs.geometry_shader->output_primitive; in draw_pt_arrays()
Ddraw_pt_fetch_shade_pipeline_llvm.c294 gs ? gs->output_primitive : tes ? get_tes_output_prim(tes) : in llvm_middle_end_prepare()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_gs_intrinsics.c153 enum shader_prim outprim = b->shader->info.gs.output_primitive; in overwrite_incomplete_primitives()
376 bool is_points = shader->info.gs.output_primitive == SHADER_PRIM_POINTS; in nir_lower_gs_intrinsics()
/third_party/mesa3d/src/compiler/
Dshader_info.h359 uint16_t output_primitive; member
/third_party/mesa3d/src/mesa/main/
Ddraw_validate.c296 info.gs.output_primitive) { in _mesa_update_valid_to_render_state()
/third_party/mesa3d/src/compiler/glsl/
Dlinker.cpp777 sh->Program->info.gs.output_primitive != GL_POINTS) { in validate_geometry_shader_emissions()
2063 gl_prog->info.gs.output_primitive = SHADER_PRIM_UNKNOWN; in link_gs_inout_layout_qualifiers()
2090 if (gl_prog->info.gs.output_primitive != SHADER_PRIM_UNKNOWN && in link_gs_inout_layout_qualifiers()
2091 gl_prog->info.gs.output_primitive != in link_gs_inout_layout_qualifiers()
2097 gl_prog->info.gs.output_primitive = (enum shader_prim)shader->info.Geom.OutputType; in link_gs_inout_layout_qualifiers()
2135 if (gl_prog->info.gs.output_primitive == SHADER_PRIM_UNKNOWN) { in link_gs_inout_layout_qualifiers()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_shader.c353 v->gs.output_primitive = info->gs.output_primitive; in alloc_variant()
Dir3_shader.h747 uint16_t output_primitive; member
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_pipeline.c284 switch (prog->nir[PIPE_SHADER_GEOMETRY]->info.gs.output_primitive) { in zink_create_gfx_pipeline()
Dzink_program.c1107 …DER_GEOMETRY] ? ctx->gfx_stages[PIPE_SHADER_GEOMETRY]->nir->info.gs.output_primitive == SHADER_PRI… in zink_bind_gs_state()
1111 … if (!had_points && ctx->last_vertex_stage->nir->info.gs.output_primitive == SHADER_PRIM_POINTS) in zink_bind_gs_state()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c446 info->properties[TGSI_PROPERTY_GS_OUTPUT_PRIM] = nir->info.gs.output_primitive; in nir_tgsi_scan_shader()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c126 switch (ctx->shader->selector->info.base.gs.output_primitive) { in si_llvm_gs_build_end()
Dgfx10_shader_ngg.c91 *num_vertices = u_vertices_per_prim(info->base.gs.output_primitive); in ngg_get_vertices_per_prim()
1891 …tmp = LLVMConstInt(ctx->ac.i32, u_vertices_per_prim(sel->info.base.gs.output_primitive) - 1, false… in gfx10_ngg_gs_emit_vertex()
1899 if (stream == 0 && u_vertices_per_prim(sel->info.base.gs.output_primitive) == 3) { in gfx10_ngg_gs_emit_vertex()
1973 const unsigned verts_per_prim = u_vertices_per_prim(sel->info.base.gs.output_primitive); in gfx10_ngg_gs_build_end()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_info.c649 info->gs.output_prim = nir->info.gs.output_primitive; in radv_nir_shader_info_pass()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c2062 if (shader->info.gs.output_primitive == SHADER_PRIM_POINTS) in ac_nir_lower_ngg_gs()
2064 else if (shader->info.gs.output_primitive == SHADER_PRIM_LINE_STRIP) in ac_nir_lower_ngg_gs()
2066 else if (shader->info.gs.output_primitive == SHADER_PRIM_TRIANGLE_STRIP) in ac_nir_lower_ngg_gs()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_hw_select.c617 nir->info.gs.output_primitive = SHADER_PRIM_POINTS; in hw_select_create_gs()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_clear.c350 nir->info.gs.output_primitive = SHADER_PRIM_TRIANGLE_STRIP; in get_clear_rect_gs()

12