Home
last modified time | relevance | path

Searched refs:VARYING_SLOT_VAR0 (Results 1 – 25 of 60) sorted by relevance

123

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c38 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/
Dnir_linking_helpers.c149 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 …]
Dnir_lower_mediump.c221 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/
Dbuiltin_variable_test.cpp203 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()
Dinvalidate_locations_test.cpp167 var->data.location = VARYING_SLOT_VAR0; in TEST_F()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vue_map.c187 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/
Dshader_enums.h311 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/
Dnir_draw_helpers.c225 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/
Dlima_compiler_cmdline.c77 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/
Di915_fragprog.c146 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/
Dcmdline.c75 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/
Dss_context.c162 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/
Dcmdline.c107 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/
Dlink_varyings.cpp72 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 …]
Dlink_interface_blocks.cpp254 var->data.location >= VARYING_SLOT_VAR0) { in lookup()
275 var->data.location >= VARYING_SLOT_VAR0) { in store()
Dlower_packed_varyings.cpp281 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()
Dgl_nir_linker.c330 : 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/
Dsfn_shader_geometry.cpp104 (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/
Dir3_cmdline.c96 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/
Ds_aalinetemp.h69 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/
Dt_vb_program.c454 BITFIELD64_BIT(VARYING_SLOT_VAR0 + i)) { in run_vp()
457 = &store->results[VARYING_SLOT_VAR0 + i]; in run_vp()
Dt_context.c190 BITFIELD64_BIT(VARYING_SLOT_VAR0 + i)) { in _tnl_InvalidateState()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c119 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/
Dradv_shader_info.c433 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()
Dradv_meta_blit.c48 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()

123