Home
last modified time | relevance | path

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

123

/external/mesa3d/src/compiler/nir/
Dnir_linking_helpers.c138 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/
Dtgsi_from_mesa.c36 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/
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()
/external/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()
/external/mesa3d/src/compiler/
Dshader_enums.h291 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/
Dnir_draw_helpers.c227 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/
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()
/external/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()
/external/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()
/external/mesa3d/src/compiler/glsl/
Dlink_interface_blocks.cpp240 var->data.location >= VARYING_SLOT_VAR0) { in lookup()
261 var->data.location >= VARYING_SLOT_VAR0) { in store()
Dlink_varyings.cpp422 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()
Dgl_nir_linker.c330 : VARYING_SLOT_VAR0; in add_vars_with_modes()
336 : VARYING_SLOT_VAR0; in add_vars_with_modes()
Dlower_packed_varyings.cpp281 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/
Dsfn_shader_geometry.cpp94 (input->data.location >= VARYING_SLOT_VAR0 && in do_process_inputs()
117 (output->data.location >= VARYING_SLOT_VAR0 && in do_process_outputs()
Dsfn_shader_tess_eval.cpp28 (input->data.location >= VARYING_SLOT_VAR0 && in do_process_inputs()
Dsfn_nir_lower_tess_io.cpp55 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/
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()
/external/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()
/external/mesa3d/src/intel/blorp/
Dblorp_priv.h162 input->data.location = VARYING_SLOT_VAR0 + \
/external/mesa3d/src/mesa/tnl/
Dt_vb_program.c451 BITFIELD64_BIT(VARYING_SLOT_VAR0 + i)) { in run_vp()
454 = &store->results[VARYING_SLOT_VAR0 + i]; in run_vp()
Dt_context.c189 BITFIELD64_BIT(VARYING_SLOT_VAR0 + i)) { in _tnl_InvalidateState()
/external/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()
/external/mesa3d/src/mesa/program/
Dprog_print.c210 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/
Dradv_meta_blit.c56 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()

123