/external/mesa3d/src/compiler/nir/ |
D | nir_linking_helpers.c | 138 if (var->data.location < VARYING_SLOT_VAR0 && var->data.location >= 0) in nir_remove_unused_io_vars() 278 if (var->data.location >= VARYING_SLOT_VAR0 && in get_unmoveable_components_masks() 279 var->data.location - VARYING_SLOT_VAR0 < MAX_VARYINGS_INCL_PATCH) { in get_unmoveable_components_masks() 293 unsigned location = var->data.location - VARYING_SLOT_VAR0; in get_unmoveable_components_masks() 370 slots_used_tmp[0] = *slots_used & BITFIELD64_RANGE(0, VARYING_SLOT_VAR0); in remap_slots_and_components() 376 if (var->data.location >= VARYING_SLOT_VAR0 && in remap_slots_and_components() 377 var->data.location - VARYING_SLOT_VAR0 < MAX_VARYINGS_INCL_PATCH) { in remap_slots_and_components() 389 unsigned location = var->data.location - VARYING_SLOT_VAR0; in remap_slots_and_components() 500 if (var->data.location >= VARYING_SLOT_VAR0 && in gather_varying_component_info() 501 var->data.location - VARYING_SLOT_VAR0 < MAX_VARYINGS_INCL_PATCH) { in gather_varying_component_info() [all …]
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_from_mesa.c | 36 if (attr >= VARYING_SLOT_VAR0) { in tgsi_get_generic_gl_varying_index() 38 return attr - VARYING_SLOT_VAR0; in tgsi_get_generic_gl_varying_index() 40 return 9 + (attr - VARYING_SLOT_VAR0); in tgsi_get_generic_gl_varying_index() 161 case VARYING_SLOT_VAR0: in tgsi_get_gl_varying_semantic() 163 assert(attr >= VARYING_SLOT_VAR0 || in tgsi_get_gl_varying_semantic()
|
/external/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()
|
/external/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()
|
/external/mesa3d/src/compiler/ |
D | shader_enums.h | 291 VARYING_SLOT_VAR0, /* First generic varying slot */ enumerator 329 #define VARYING_SLOT_MAX (VARYING_SLOT_VAR0 + MAX_VARYING) 332 #define MAX_VARYINGS_INCL_PATCH (VARYING_SLOT_TESS_MAX - VARYING_SLOT_VAR0) 378 #define VARYING_BIT_VAR(V) BITFIELD64_BIT(VARYING_SLOT_VAR0 + (V))
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_draw_helpers.c | 227 if (highest_location == -1 || highest_location < VARYING_SLOT_VAR0) { in nir_lower_aaline_fs() 228 line_width->data.location = VARYING_SLOT_VAR0; in nir_lower_aaline_fs() 351 if (highest_location == -1 || highest_location < VARYING_SLOT_VAR0) { in nir_lower_aapoint_fs() 352 aapoint_input->data.location = VARYING_SLOT_VAR0; in nir_lower_aapoint_fs()
|
/external/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()
|
/external/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()
|
/external/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()
|
/external/mesa3d/src/compiler/glsl/ |
D | link_interface_blocks.cpp | 240 var->data.location >= VARYING_SLOT_VAR0) { in lookup() 261 var->data.location >= VARYING_SLOT_VAR0) { in store()
|
D | link_varyings.cpp | 422 unsigned location_start = VARYING_SLOT_VAR0; in compute_variable_location_slot() 655 (field->patch ? VARYING_SLOT_PATCH0 : VARYING_SLOT_VAR0); in validate_explicit_variable_location() 723 var->data.location < VARYING_SLOT_VAR0 || in validate_first_and_last_interface_explicit_locations() 757 || var->data.location < VARYING_SLOT_VAR0) in cross_validate_outputs_to_inputs() 814 && input->data.location >= VARYING_SLOT_VAR0) { in cross_validate_outputs_to_inputs() 2110 producer_var->data.location = VARYING_SLOT_VAR0 + slot; in store_locations() 2116 consumer_var->data.location = VARYING_SLOT_VAR0 + slot; in store_locations() 2600 var->data.location < VARYING_SLOT_VAR0) in reserved_varying_slot() 2603 var_slot = var->data.location - VARYING_SLOT_VAR0; in reserved_varying_slot() 2842 matched_candidate->toplevel_var->data.location < VARYING_SLOT_VAR0 && in assign_varying_locations()
|
D | gl_nir_linker.c | 330 : VARYING_SLOT_VAR0; in add_vars_with_modes() 336 : VARYING_SLOT_VAR0; in add_vars_with_modes()
|
D | lower_packed_varyings.cpp | 281 var->data.location < VARYING_SLOT_VAR0 || in run() 700 unsigned slot = location - VARYING_SLOT_VAR0; in get_packed_varying_deref()
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_shader_geometry.cpp | 94 (input->data.location >= VARYING_SLOT_VAR0 && in do_process_inputs() 117 (output->data.location >= VARYING_SLOT_VAR0 && in do_process_outputs()
|
D | sfn_shader_tess_eval.cpp | 28 (input->data.location >= VARYING_SLOT_VAR0 && in do_process_inputs()
|
D | sfn_nir_lower_tess_io.cpp | 55 if (var->data.location >= VARYING_SLOT_VAR0 && in get_tcs_varying_offset() 57 return 0x10 * (var->data.location - VARYING_SLOT_VAR0) + 0x40; in get_tcs_varying_offset()
|
/external/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()
|
/external/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()
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_priv.h | 162 input->data.location = VARYING_SLOT_VAR0 + \
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_program.c | 451 BITFIELD64_BIT(VARYING_SLOT_VAR0 + i)) { in run_vp() 454 = &store->results[VARYING_SLOT_VAR0 + i]; in run_vp()
|
D | t_context.c | 189 BITFIELD64_BIT(VARYING_SLOT_VAR0 + i)) { in _tnl_InvalidateState()
|
/external/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()
|
/external/mesa3d/src/mesa/program/ |
D | prog_print.c | 210 assert(strcmp(fragAttribs[VARYING_SLOT_VAR0+15], "fragment.varying[15]") == 0); in arb_input_attrib_string() 355 assert(strcmp(vertResults[VARYING_SLOT_VAR0], "result.varying[0]") == 0); in arb_output_attrib_string()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_blit.c | 56 tex_pos_out->data.location = VARYING_SLOT_VAR0; in build_nir_vertex_shader() 123 tex_pos_in->data.location = VARYING_SLOT_VAR0; in build_nir_copy_fragment_shader() 181 tex_pos_in->data.location = VARYING_SLOT_VAR0; in build_nir_copy_fragment_shader_depth() 239 tex_pos_in->data.location = VARYING_SLOT_VAR0; in build_nir_copy_fragment_shader_stencil()
|