/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_from_mesa.c | 38 if (attr >= VARYING_SLOT_VAR0) { in tgsi_get_generic_gl_varying_index() 40 return attr - VARYING_SLOT_VAR0; in tgsi_get_generic_gl_varying_index() 42 return 9 + (attr - VARYING_SLOT_VAR0); in tgsi_get_generic_gl_varying_index() 163 case VARYING_SLOT_VAR0: in tgsi_get_gl_varying_semantic() 165 assert(attr >= VARYING_SLOT_VAR0 || in tgsi_get_gl_varying_semantic()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_linking_helpers.c | 149 if (var->data.location < VARYING_SLOT_VAR0 && var->data.location >= 0) in nir_remove_unused_io_vars() 296 if (var->data.location >= VARYING_SLOT_VAR0 && in get_unmoveable_components_masks() 297 var->data.location - VARYING_SLOT_VAR0 < MAX_VARYINGS_INCL_PATCH) { in get_unmoveable_components_masks() 311 unsigned location = var->data.location - VARYING_SLOT_VAR0; in get_unmoveable_components_masks() 391 slots_used_tmp[0] = *slots_used & BITFIELD64_RANGE(0, VARYING_SLOT_VAR0); in remap_slots_and_components() 397 if (var->data.location >= VARYING_SLOT_VAR0 && in remap_slots_and_components() 398 var->data.location - VARYING_SLOT_VAR0 < MAX_VARYINGS_INCL_PATCH) { in remap_slots_and_components() 410 unsigned location = var->data.location - VARYING_SLOT_VAR0; in remap_slots_and_components() 526 if (var->data.location >= VARYING_SLOT_VAR0 && in gather_varying_component_info() 527 var->data.location - VARYING_SLOT_VAR0 < MAX_VARYINGS_INCL_PATCH) { in gather_varying_component_info() [all …]
|
D | nir_lower_mediump.c | 221 sem.location >= VARYING_SLOT_VAR0 && in nir_lower_mediump_io() 223 unsigned index = sem.location - VARYING_SLOT_VAR0; in nir_lower_mediump_io() 290 if (sem.location < VARYING_SLOT_VAR0 || in nir_force_mediump_io() 335 sem.location = VARYING_SLOT_VAR0 + in nir_unpack_16bit_varying_slots()
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
D | builtin_variable_test.cpp | 203 EXPECT_GT(VARYING_SLOT_VAR0, var->data.location); in TEST_F() 256 EXPECT_GT(VARYING_SLOT_VAR0, var->data.location); in TEST_F() 340 EXPECT_GT(VARYING_SLOT_VAR0, input->location); in TEST_F() 351 EXPECT_GT(VARYING_SLOT_VAR0, var->data.location); in TEST_F() 373 EXPECT_GT(VARYING_SLOT_VAR0, var->data.location); in TEST_F()
|
D | invalidate_locations_test.cpp | 167 var->data.location = VARYING_SLOT_VAR0; in TEST_F()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_vue_map.c | 187 uint64_t builtins = slots_valid & BITFIELD64_MASK(VARYING_SLOT_VAR0); in brw_compute_vue_map() 197 uint64_t generics = slots_valid & ~BITFIELD64_MASK(VARYING_SLOT_VAR0); in brw_compute_vue_map() 201 slot = first_generic_slot + varying - VARYING_SLOT_VAR0; in brw_compute_vue_map()
|
/third_party/mesa3d/src/compiler/ |
D | shader_enums.h | 311 VARYING_SLOT_VAR0 = 32, /* First generic varying slot */ enumerator 413 #define VARYING_SLOT_MAX (VARYING_SLOT_VAR0 + MAX_VARYING) 415 #define MAX_VARYINGS_INCL_PATCH (VARYING_SLOT_TESS_MAX - VARYING_SLOT_VAR0) 463 #define VARYING_BIT_VAR(V) BITFIELD64_BIT(VARYING_SLOT_VAR0 + (V))
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_draw_helpers.c | 225 if (highest_location == -1 || highest_location < VARYING_SLOT_VAR0) { in nir_lower_aaline_fs() 226 line_width->data.location = VARYING_SLOT_VAR0; in nir_lower_aaline_fs() 347 if (highest_location == -1 || highest_location < VARYING_SLOT_VAR0) { in nir_lower_aapoint_fs() 348 aapoint_input->data.location = VARYING_SLOT_VAR0; in nir_lower_aapoint_fs()
|
/third_party/mesa3d/src/gallium/drivers/lima/standalone/ |
D | lima_compiler_cmdline.c | 77 if (var->data.location >= VARYING_SLOT_VAR0) { in fixup_varying_slots() 81 var->data.location += VARYING_SLOT_VAR0 - VARYING_SLOT_TEX0; in fixup_varying_slots()
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_fragprog.c | 146 case VARYING_SLOT_VAR0: in src_vector() 147 case VARYING_SLOT_VAR0 + 1: in src_vector() 148 case VARYING_SLOT_VAR0 + 2: in src_vector() 149 case VARYING_SLOT_VAR0 + 3: in src_vector() 150 case VARYING_SLOT_VAR0 + 4: in src_vector() 151 case VARYING_SLOT_VAR0 + 5: in src_vector() 152 case VARYING_SLOT_VAR0 + 6: in src_vector() 153 case VARYING_SLOT_VAR0 + 7: in src_vector() 155 VARYING_SLOT_VAR0) | TEXCOORD_VAR); in src_vector()
|
/third_party/mesa3d/src/asahi/compiler/ |
D | cmdline.c | 75 if (var->data.location >= VARYING_SLOT_VAR0) { in fixup_varying_slots() 79 var->data.location += VARYING_SLOT_VAR0 - VARYING_SLOT_TEX0; in fixup_varying_slots()
|
/third_party/mesa3d/src/mesa/swrast_setup/ |
D | ss_context.c | 162 attrib[VARYING_SLOT_VAR0 + i] ); in setup_vertex_format() 288 dest->attrib[VARYING_SLOT_VAR0 + i] ); in _swsetup_Translate()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | cmdline.c | 107 if (var->data.location >= VARYING_SLOT_VAR0) { in fixup_varying_slots() 111 var->data.location += VARYING_SLOT_VAR0 - VARYING_SLOT_TEX0; in fixup_varying_slots()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | link_varyings.cpp | 72 var->data.location >= VARYING_SLOT_VAR0; in varying_has_user_specified_location() 429 unsigned location_start = VARYING_SLOT_VAR0; in compute_variable_location_slot() 662 (field->patch ? VARYING_SLOT_PATCH0 : VARYING_SLOT_VAR0); in validate_explicit_variable_location() 732 var->data.location < VARYING_SLOT_VAR0 || in validate_first_and_last_interface_explicit_locations() 804 || var->data.location < VARYING_SLOT_VAR0) in cross_validate_outputs_to_inputs() 861 && input->data.location >= VARYING_SLOT_VAR0) { in cross_validate_outputs_to_inputs() 2187 producer_var->data.location = VARYING_SLOT_VAR0 + slot; in store_locations() 2193 consumer_var->data.location = VARYING_SLOT_VAR0 + slot; in store_locations() 2710 var->data.location < VARYING_SLOT_VAR0) in reserved_varying_slot() 2713 var_slot = var->data.location - VARYING_SLOT_VAR0; in reserved_varying_slot() [all …]
|
D | link_interface_blocks.cpp | 254 var->data.location >= VARYING_SLOT_VAR0) { in lookup() 275 var->data.location >= VARYING_SLOT_VAR0) { in store()
|
D | lower_packed_varyings.cpp | 281 var->data.location < VARYING_SLOT_VAR0 || in run() 622 assert(this->components[location - VARYING_SLOT_VAR0] >= components); in lower_rvalue() 716 unsigned slot = location - VARYING_SLOT_VAR0; in get_packed_varying_deref()
|
D | gl_nir_linker.c | 330 : VARYING_SLOT_VAR0; in add_vars_with_modes() 336 : VARYING_SLOT_VAR0; in add_vars_with_modes()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_shader_geometry.cpp | 104 (location >= VARYING_SLOT_VAR0 && in process_store_output() 164 (location >= VARYING_SLOT_VAR0 && in process_load_input()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_cmdline.c | 96 if (var->data.location >= VARYING_SLOT_VAR0) { in fixup_varying_slots() 100 var->data.location += VARYING_SLOT_VAR0 - VARYING_SLOT_TEX0; in fixup_varying_slots()
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_aalinetemp.h | 69 if (attr >= VARYING_SLOT_TEX0 && attr < VARYING_SLOT_VAR0 in NAME() 179 if (attr >= VARYING_SLOT_TEX0 && attr < VARYING_SLOT_VAR0) { in NAME()
|
/third_party/mesa3d/src/mesa/tnl/ |
D | t_vb_program.c | 454 BITFIELD64_BIT(VARYING_SLOT_VAR0 + i)) { in run_vp() 457 = &store->results[VARYING_SLOT_VAR0 + i]; in run_vp()
|
D | t_context.c | 190 BITFIELD64_BIT(VARYING_SLOT_VAR0 + i)) { in _tnl_InvalidateState()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_clear.c | 119 unsigned inputs[] = { VARYING_SLOT_VAR0 }; in set_fragment_shader() 150 VARYING_SLOT_VAR0, in make_nir_clear_vertex_shader()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_shader_info.c | 433 if (var->data.location >= VARYING_SLOT_VAR0) in gather_info_input_decl_ps() 434 info->ps.input_mask |= mask << (var->data.location - VARYING_SLOT_VAR0); in gather_info_input_decl_ps() 686 if (idx >= VARYING_SLOT_VAR0 || idx == VARYING_SLOT_LAYER || in radv_nir_shader_info_pass()
|
D | radv_meta_blit.c | 48 tex_pos_out->data.location = VARYING_SLOT_VAR0; in build_nir_vertex_shader() 89 tex_pos_in->data.location = VARYING_SLOT_VAR0; in build_nir_copy_fragment_shader() 137 tex_pos_in->data.location = VARYING_SLOT_VAR0; in build_nir_copy_fragment_shader_depth() 185 tex_pos_in->data.location = VARYING_SLOT_VAR0; in build_nir_copy_fragment_shader_stencil()
|