Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/compiler/
Dbrw_vue_map.c258 if (vue_map->varying_to_slot[varying + VARYING_SLOT_PATCH0] == -1) { in brw_compute_tess_vue_map()
259 assign_vue_slot(vue_map, varying + VARYING_SLOT_PATCH0, slot++); in brw_compute_tess_vue_map()
307 if (vue_map->slot_to_varying[i] >= VARYING_SLOT_PATCH0) { in brw_print_vue_map()
309 vue_map->slot_to_varying[i] - VARYING_SLOT_PATCH0); in brw_print_vue_map()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c165 if (attr >= VARYING_SLOT_PATCH0) { in tgsi_get_gl_varying_semantic()
167 *semantic_index = attr - VARYING_SLOT_PATCH0; in tgsi_get_gl_varying_semantic()
/external/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()
Dgl_nir_linker.c343 loc_bias = VARYING_SLOT_PATCH0; in add_vars_with_modes()
Dlink_varyings.cpp432 location_start = VARYING_SLOT_PATCH0; in compute_variable_location_slot()
655 (field->patch ? VARYING_SLOT_PATCH0 : VARYING_SLOT_VAR0); in validate_explicit_variable_location()
Dast_to_hir.cpp3313 var->data.location = qual_location + VARYING_SLOT_PATCH0; in apply_explicit_location()
7528 (fields[i].patch ? VARYING_SLOT_PATCH0 : VARYING_SLOT_VAR0); in ast_process_struct_or_iface_block_members()
8032 expl_location += this->layout.flags.q.patch ? VARYING_SLOT_PATCH0 in hir()
Dlinker.cpp3939 loc_bias = int(VARYING_SLOT_PATCH0); in add_interface_variables()
/external/mesa3d/src/compiler/nir/
Dnir_gather_info.c97 assert(idx >= VARYING_SLOT_PATCH0 && idx < VARYING_SLOT_TESS_MAX); in set_io_mask()
98 bitfield = BITFIELD64_BIT(idx - VARYING_SLOT_PATCH0); in set_io_mask()
316 if (semantics.location >= VARYING_SLOT_PATCH0) { in gather_intrinsic_info()
324 semantics.location -= VARYING_SLOT_PATCH0; in gather_intrinsic_info()
Dnir_linking_helpers.c45 var->data.location - VARYING_SLOT_PATCH0 : var->data.location; in get_variable_io_mask()
344 unsigned loc_offset = var->data.patch ? VARYING_SLOT_PATCH0 : 0; in mark_all_used_slots()
353 unsigned loc_offset = var->data.patch ? VARYING_SLOT_PATCH0 : 0; in mark_used_slot()
392 unsigned loc_offset = var->data.patch ? VARYING_SLOT_PATCH0 : 0; in remap_slots_and_components()
1236 if (location >= VARYING_SLOT_PATCH0) in get_linked_variable_location()
1237 return location - VARYING_SLOT_PATCH0 + 4; in get_linked_variable_location()
/external/mesa3d/src/compiler/
Dshader_enums.h330 #define VARYING_SLOT_PATCH0 (VARYING_SLOT_MAX) macro
331 #define VARYING_SLOT_TESS_MAX (VARYING_SLOT_PATCH0 + MAX_VARYING)
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_tess_eval.cpp32 (input->data.location >= VARYING_SLOT_PATCH0 && in do_process_inputs()
Dsfn_nir_lower_tess_io.cpp59 if (var->data.location >= VARYING_SLOT_PATCH0) { in get_tcs_varying_offset()
60 return 0x10 * (var->data.location - VARYING_SLOT_PATCH0) + 0x20; in get_tcs_varying_offset()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_tess.c186 int param = name >= VARYING_SLOT_PATCH0 || in get_dw_address_from_generic_indices()
252 param_index_base = name >= VARYING_SLOT_PATCH0 || in get_tcs_tes_buffer_address_from_generic_indices()
396 assert((semantic >= VARYING_SLOT_PATCH0 || in si_nir_load_tcs_varyings()
439 assert((semantic >= VARYING_SLOT_PATCH0 || in si_nir_load_input_tes()
484 if ((semantic >= VARYING_SLOT_PATCH0 || semantic == VARYING_SLOT_TESS_LEVEL_INNER || in si_nir_store_output_tcs()
Dsi_shader.c72 if (semantic >= VARYING_SLOT_PATCH0 && semantic < VARYING_SLOT_PATCH0 + 30) in si_shader_io_get_unique_index_patch()
73 return 2 + (semantic - VARYING_SLOT_PATCH0); in si_shader_io_get_unique_index_patch()
Dsi_state_shaders.c2699 (semantic >= VARYING_SLOT_PATCH0 && semantic < VARYING_SLOT_TESS_MAX)) { in si_create_shader_selector()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tess.c428 assert(location >= VARYING_SLOT_PATCH0 && in build_per_vertex_offset()
430 unsigned index = location - VARYING_SLOT_PATCH0; in build_per_vertex_offset()
/external/mesa3d/src/mesa/state_tracker/
Dst_program.c1619 GLuint patch_attr = VARYING_SLOT_PATCH0 + attr; in st_translate_common_program()
1656 GLuint patch_attr = VARYING_SLOT_PATCH0 + attr; in st_translate_common_program()
Dst_glsl_to_tgsi.cpp2677 if (decl->mesa_index >= VARYING_SLOT_PATCH0) { in shrink_array_declarations()
2679 BITFIELD64_BIT(decl->mesa_index - VARYING_SLOT_PATCH0 + j)) in shrink_array_declarations()
2696 if (decl->mesa_index >= VARYING_SLOT_PATCH0) { in shrink_array_declarations()
2698 BITFIELD64_BIT(decl->mesa_index - VARYING_SLOT_PATCH0 + j)) in shrink_array_declarations()
2721 if (decl->mesa_index >= VARYING_SLOT_PATCH0) in shrink_array_declarations()
2722 *patch_usage_mask |= BITFIELD64_BIT(decl->mesa_index - VARYING_SLOT_PATCH0 + j); in shrink_array_declarations()
2757 if (decl->mesa_index >= VARYING_SLOT_PATCH0) in mark_array_io()
2758 *patch_usage_mask |= BITFIELD64_BIT(decl->mesa_index - VARYING_SLOT_PATCH0 + j); in mark_array_io()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c112 (location >= VARYING_SLOT_VAR0 && location < VARYING_SLOT_PATCH0)) { in ntt_get_gl_varying_semantic()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c1342 location += vtn_var->patch ? VARYING_SLOT_PATCH0 : VARYING_SLOT_VAR0; in var_decoration_cb()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c566 if (!(ctx->shader->info.patch_outputs_read & (1U << (location - VARYING_SLOT_PATCH0)))) in store_tcs_output()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4255 slot -= VARYING_SLOT_PATCH0; in tcs_compare_intrin_with_mask()