Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c397 vs_primitive_regid = ir3_find_sysval_regid(hs, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
399 vs_primitive_regid = ir3_find_sysval_regid(gs, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
407 hs_reads_primid = VALIDREG(ir3_find_sysval_regid(hs, SYSTEM_VALUE_PRIMITIVE_ID)); in setup_stateobj()
408 ds_reads_primid = VALIDREG(ir3_find_sysval_regid(ds, SYSTEM_VALUE_PRIMITIVE_ID)); in setup_stateobj()
411 ds_primitive_regid = ir3_find_sysval_regid(ds, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
431 gs_reads_primid = VALIDREG(ir3_find_sysval_regid(gs, SYSTEM_VALUE_PRIMITIVE_ID)); in setup_stateobj()
Dfd6_draw.c183 BITSET_TEST(ds_info->system_values_read, SYSTEM_VALUE_PRIMITIVE_ID) || in fd6_draw_vbo()
184 (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.c292 ENUM(SYSTEM_VALUE_PRIMITIVE_ID), in gl_system_value_name()
Dshader_enums.h707 SYSTEM_VALUE_PRIMITIVE_ID, enumerator
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_tcs.cpp397 BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in brw_compile_tcs()
Dbrw_vec4_gs_visitor.cpp630 BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in brw_compile_gs()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_signature.c189 case SYSTEM_VALUE_PRIMITIVE_ID: in get_semantic_sv_name()
Dnir_to_dxil.c4848 {SYSTEM_VALUE_PRIMITIVE_ID, VARYING_SLOT_PRIMITIVE_ID, "SV_PrimitiveID"},
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c698 ir3_find_sysval_regid(gs, SYSTEM_VALUE_PRIMITIVE_ID) : in tu6_emit_vs_system_values()
701 ir3_find_sysval_regid(hs, SYSTEM_VALUE_PRIMITIVE_ID) : in tu6_emit_vs_system_values()
704 ir3_find_sysval_regid(ds, SYSTEM_VALUE_PRIMITIVE_ID) : in tu6_emit_vs_system_values()
1102 VALIDREG(ir3_find_sysval_regid(shader, SYSTEM_VALUE_PRIMITIVE_ID)); in tu6_emit_vpc()
2397 BITSET_TEST(nir[stage]->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in tu_pipeline_builder_compile_shaders()
/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_variables.cpp1179 add_system_value(SYSTEM_VALUE_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_tcs_special_vars()
1226 add_system_value(SYSTEM_VALUE_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_tes_special_vars()
Dglsl_to_nir.cpp512 var->data.location = SYSTEM_VALUE_PRIMITIVE_ID; in visit()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c449 info->uses_primid = BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID) || in si_nir_scan_shader()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c1710 create_sysval_input(ctx, SYSTEM_VALUE_PRIMITIVE_ID, 0x1); in emit_intrinsic()
3758 create_sysval_input(ctx, SYSTEM_VALUE_PRIMITIVE_ID, 0x1); in emit_instructions()
3763 create_sysval_input(ctx, SYSTEM_VALUE_PRIMITIVE_ID, 0x1); in emit_instructions()
3777 create_sysval_input(ctx, SYSTEM_VALUE_PRIMITIVE_ID, 0x1); in emit_instructions()
/third_party/mesa3d/src/compiler/nir/
Dnir.c2295 case SYSTEM_VALUE_PRIMITIVE_ID: in nir_intrinsic_from_system_value()
2427 return SYSTEM_VALUE_PRIMITIVE_ID; in nir_system_value_from_intrinsic()
/third_party/mesa3d/src/broadcom/compiler/
Dvir.c752 SYSTEM_VALUE_PRIMITIVE_ID); in v3d_gs_set_prog_data()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c1022 …ses_tess_primitive_id = BITSET_TEST(b->shader->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in add_deferred_attribute_culling()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c970 BITSET_SET(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in radv_lower_ngg()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c830 *location = SYSTEM_VALUE_PRIMITIVE_ID; in vtn_get_builtin_location()