Home
last modified time | relevance | path

Searched refs:SYSTEM_VALUE_PRIMITIVE_ID (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c437 vs_primitive_regid = ir3_find_sysval_regid(hs, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
439 vs_primitive_regid = ir3_find_sysval_regid(gs, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
447 hs_reads_primid = VALIDREG(ir3_find_sysval_regid(hs, SYSTEM_VALUE_PRIMITIVE_ID)); in setup_stateobj()
448 ds_reads_primid = VALIDREG(ir3_find_sysval_regid(ds, SYSTEM_VALUE_PRIMITIVE_ID)); in setup_stateobj()
451 ds_primitive_regid = ir3_find_sysval_regid(ds, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
471 gs_reads_primid = VALIDREG(ir3_find_sysval_regid(gs, SYSTEM_VALUE_PRIMITIVE_ID)); in setup_stateobj()
Dfd6_draw.c184 BITSET_TEST(ds_info->system_values_read, SYSTEM_VALUE_PRIMITIVE_ID) || in fd6_draw_vbo()
185 (gs_info && BITSET_TEST(gs_info->system_values_read, SYSTEM_VALUE_PRIMITIVE_ID)) || in fd6_draw_vbo()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c258 case SYSTEM_VALUE_PRIMITIVE_ID: in tgsi_get_sysval_semantic()
/third_party/mesa3d/src/compiler/
Dshader_enums.c293 ENUM(SYSTEM_VALUE_PRIMITIVE_ID), in gl_system_value_name()
Dshader_enums.h758 SYSTEM_VALUE_PRIMITIVE_ID, enumerator
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_tcs.cpp393 BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in brw_compile_tcs()
Dbrw_vec4_gs_visitor.cpp629 BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in brw_compile_gs()
Dbrw_shader.cpp1367 BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in brw_compile_tes()
/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_variables.cpp1180 add_system_value(SYSTEM_VALUE_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_tcs_special_vars()
1227 add_system_value(SYSTEM_VALUE_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_tes_special_vars()
Dglsl_to_nir.cpp542 var->data.location = SYSTEM_VALUE_PRIMITIVE_ID; in visit()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c754 ir3_find_sysval_regid(gs, SYSTEM_VALUE_PRIMITIVE_ID) : in tu6_emit_vs_system_values()
757 ir3_find_sysval_regid(hs, SYSTEM_VALUE_PRIMITIVE_ID) : in tu6_emit_vs_system_values()
760 ir3_find_sysval_regid(ds, SYSTEM_VALUE_PRIMITIVE_ID) : in tu6_emit_vs_system_values()
1156 VALIDREG(ir3_find_sysval_regid(shader, SYSTEM_VALUE_PRIMITIVE_ID)); in tu6_emit_vpc()
2937 BITSET_TEST(nir[stage]->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in tu_pipeline_builder_compile_shaders()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_signature.c223 case SYSTEM_VALUE_PRIMITIVE_ID: in get_semantic_sv_name()
Dnir_to_dxil.c5732 {SYSTEM_VALUE_PRIMITIVE_ID, VARYING_SLOT_PRIMITIVE_ID, "SV_PrimitiveID", MESA_SHADER_GEOMETRY},
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_info.c641 info->uses_primid = BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID) || in si_nir_scan_shader()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_info.c594 info->uses_prim_id |= BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in radv_nir_shader_info_pass()
Dradv_shader.c1294 BITSET_SET(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in radv_lower_ngg()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c2125 create_sysval_input(ctx, SYSTEM_VALUE_PRIMITIVE_ID, 0x1); in emit_intrinsic()
4349 create_sysval_input(ctx, SYSTEM_VALUE_PRIMITIVE_ID, 0x1); in emit_instructions()
4354 create_sysval_input(ctx, SYSTEM_VALUE_PRIMITIVE_ID, 0x1); in emit_instructions()
4368 create_sysval_input(ctx, SYSTEM_VALUE_PRIMITIVE_ID, 0x1); in emit_instructions()
/third_party/mesa3d/src/compiler/nir/
Dnir.c2428 case SYSTEM_VALUE_PRIMITIVE_ID: in nir_intrinsic_from_system_value()
2570 return SYSTEM_VALUE_PRIMITIVE_ID; in nir_system_value_from_intrinsic()
/third_party/mesa3d/src/broadcom/compiler/
Dvir.c767 SYSTEM_VALUE_PRIMITIVE_ID); in v3d_gs_set_prog_data()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c834 *location = SYSTEM_VALUE_PRIMITIVE_ID; in vtn_get_builtin_location()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c1120 …ses_tess_primitive_id = BITSET_TEST(b->shader->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in add_deferred_attribute_culling()