Home
last modified time | relevance | path

Searched refs:VARYING_SLOT_PATCH0 (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_vue_map.c259 if (vue_map->varying_to_slot[varying + VARYING_SLOT_PATCH0] == -1) { in brw_compute_tess_vue_map()
260 assign_vue_slot(vue_map, varying + VARYING_SLOT_PATCH0, slot++); in brw_compute_tess_vue_map()
309 if (vue_map->slot_to_varying[i] >= VARYING_SLOT_PATCH0) { in brw_print_vue_map()
311 vue_map->slot_to_varying[i] - VARYING_SLOT_PATCH0); in brw_print_vue_map()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c167 if (attr >= VARYING_SLOT_PATCH0) { in tgsi_get_gl_varying_semantic()
169 *semantic_index = attr - VARYING_SLOT_PATCH0; in tgsi_get_gl_varying_semantic()
/third_party/mesa3d/src/compiler/glsl/
Dir_set_program_inouts.cpp104 assert(idx >= VARYING_SLOT_PATCH0 && idx < VARYING_SLOT_TESS_MAX); in mark()
105 bitfield = BITFIELD64_BIT(idx - VARYING_SLOT_PATCH0); in mark()
Dlink_varyings.cpp305 location_start = VARYING_SLOT_PATCH0; in compute_variable_location_slot()
528 (field->patch ? VARYING_SLOT_PATCH0 : VARYING_SLOT_VAR0); in validate_explicit_variable_location()
Dgl_nir_linker.c470 loc_bias = VARYING_SLOT_PATCH0; in add_vars_with_modes()
Dast_to_hir.cpp3391 var->data.location = qual_location + VARYING_SLOT_PATCH0; in apply_explicit_location()
7636 (fields[i].patch ? VARYING_SLOT_PATCH0 : VARYING_SLOT_VAR0); in ast_process_struct_or_iface_block_members()
8154 expl_location += this->layout.flags.q.patch ? VARYING_SLOT_PATCH0 in hir()
/third_party/mesa3d/src/compiler/nir/
Dnir_linking_helpers.c45 var->data.location - VARYING_SLOT_PATCH0 : var->data.location; in get_variable_io_mask()
382 unsigned loc_offset = var->data.patch ? VARYING_SLOT_PATCH0 : 0; in mark_all_used_slots()
391 unsigned loc_offset = var->data.patch ? VARYING_SLOT_PATCH0 : 0; in mark_used_slot()
430 unsigned loc_offset = var->data.patch ? VARYING_SLOT_PATCH0 : 0; in remap_slots_and_components()
1618 if (location >= VARYING_SLOT_PATCH0) in get_linked_variable_location()
1619 return location - VARYING_SLOT_PATCH0 + 4; in get_linked_variable_location()
Dnir_gather_info.c112 if (idx < VARYING_SLOT_PATCH0 || idx >= VARYING_SLOT_TESS_MAX) in set_io_mask()
115 bitfield = BITFIELD64_BIT(idx - VARYING_SLOT_PATCH0); in set_io_mask()
476 if (semantics.location >= VARYING_SLOT_PATCH0 && in gather_intrinsic_info()
485 semantics.location -= VARYING_SLOT_PATCH0; in gather_intrinsic_info()
/third_party/mesa3d/src/compiler/
Dshader_enums.h373 VARYING_SLOT_PATCH0, enumerator
440 #define VARYING_SLOT_TESS_MAX (VARYING_SLOT_PATCH0 + MAX_VARYING)
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Ddxil_spirv_nir.c455 var->data.location - VARYING_SLOT_PATCH0 : var->data.location; in kill_undefined_varyings()
508 var->data.location - VARYING_SLOT_PATCH0 : in kill_unused_outputs()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tess_io.cpp96 if (location >= VARYING_SLOT_PATCH0) { in get_tcs_varying_offset()
97 return 0x10 * (location - VARYING_SLOT_PATCH0) + 0x20; in get_tcs_varying_offset()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi.c355 return VARYING_SLOT_PATCH0; in svga_tgsi_to_gl_varying_semantic()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tess.c444 assert(location >= VARYING_SLOT_PATCH0 && in build_per_vertex_offset()
446 unsigned index = location - VARYING_SLOT_PATCH0; in build_per_vertex_offset()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c1758 if (a_location >= VARYING_SLOT_PATCH0) in variable_location_cmp()
1759 a_location -= VARYING_SLOT_PATCH0; in variable_location_cmp()
1761 if (b_location >= VARYING_SLOT_PATCH0) in variable_location_cmp()
1762 b_location -= VARYING_SLOT_PATCH0; in variable_location_cmp()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compiler.cpp525 var->data.location += VARYING_SLOT_PATCH0; in create_varying_from_info()
548 bool is_generic_patch = slot >= VARYING_SLOT_PATCH0; in fill_varyings()
552 slot -= VARYING_SLOT_PATCH0; in fill_varyings()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c92 if (semantic >= VARYING_SLOT_PATCH0 && semantic < VARYING_SLOT_PATCH0 + 30) in si_shader_io_get_unique_index_patch()
93 return 2 + (semantic - VARYING_SLOT_PATCH0); in si_shader_io_get_unique_index_patch()
1507 if ((semantic >= VARYING_SLOT_PATCH0 && semantic < VARYING_SLOT_TESS_MAX) || in si_map_io_driver_location()
Dsi_shader_info.c750 (semantic >= VARYING_SLOT_PATCH0 && semantic < VARYING_SLOT_TESS_MAX)) { in si_nir_scan_shader()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_tess_io_to_mem.c183 slot -= VARYING_SLOT_PATCH0; in match_mask()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c1393 assert(slot >= VARYING_SLOT_PATCH0); in assign_producer_var_io()
1394 slot -= VARYING_SLOT_PATCH0; in assign_producer_var_io()
1443 assert(slot >= VARYING_SLOT_PATCH0); in assign_consumer_var_io()
1444 slot -= VARYING_SLOT_PATCH0; in assign_consumer_var_io()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp77 if (var->data.location >= VARYING_SLOT_VAR0 && var->data.location < VARYING_SLOT_PATCH0) { in st_nir_fixup_varying_slots()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c1429 location += vtn_var->var->data.patch ? VARYING_SLOT_PATCH0 : VARYING_SLOT_VAR0; in var_decoration_cb()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c613 (location >= VARYING_SLOT_VAR0 && location < VARYING_SLOT_PATCH0)) { in ntt_get_gl_varying_semantic()