Home
last modified time | relevance | path

Searched refs:xfb_offset (Results 1 - 5 of 5) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_io_arrays_to_elements.c37 unsigned *element_index, unsigned *xfb_offset, in get_io_offset()
55 *xfb_offset = 0; in get_io_offset()
64 *xfb_offset += index * glsl_get_component_slots((*p)->type) * 4; in get_io_offset()
135 unsigned xfb_offset = 0; in lower_array() local
137 var, &elements_index, &xfb_offset, in lower_array()
146 element->data.offset = var->data.offset + xfb_offset; in lower_array()
36 get_io_offset(nir_builder *b, nir_deref_instr *deref, nir_variable *var, unsigned *element_index, unsigned *xfb_offset, nir_ssa_def **array_index) get_io_offset() argument
/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_link_varyings.c140 * any output selected by *xfb_offset*, directly or indirectly, to in process_xfb_layout_qualifiers()
462 unsigned xfb_offset = 0; in xfb_decl_store() local
477 xfb_offset = xfb_decl->offset / 4; in xfb_decl_store()
479 xfb_offset = info->Buffers[buffer].Stride; in xfb_decl_store()
481 info->Varyings[info->NumVarying].Offset = xfb_offset * 4; in xfb_decl_store()
504 xfb_offset + num_components > in xfb_decl_store()
521 const unsigned first_component = xfb_offset; in xfb_decl_store()
522 const unsigned last_component = xfb_offset + num_components - 1; in xfb_decl_store()
546 "variable '%s', xfb_offset (%d) is causing aliasing.", in xfb_decl_store()
547 xfb_decl->orig_name, xfb_offset * in xfb_decl_store()
[all...]
H A Dast_to_hir.cpp2870 * "Variables and block members qualified with *xfb_offset* can be
2881 int xfb_offset, const glsl_type *type, in validate_xfb_offset_qualifier()
2885 if (xfb_offset != -1 && type->is_unsized_array()) { in validate_xfb_offset_qualifier()
2887 "xfb_offset can't be used with unsized arrays."); in validate_xfb_offset_qualifier()
2898 /* When the interface block doesn't have an xfb_offset qualifier then in validate_xfb_offset_qualifier()
2901 if (xfb_offset == -1) in validate_xfb_offset_qualifier()
2904 int xfb_offset = t_without_array->fields.structure[i].offset; in validate_xfb_offset_qualifier() local
2905 validate_xfb_offset_qualifier(loc, state, xfb_offset, member_t, in validate_xfb_offset_qualifier()
2912 if (xfb_offset == -1) { in validate_xfb_offset_qualifier()
2916 if (xfb_offset in validate_xfb_offset_qualifier()
2879 validate_xfb_offset_qualifier(YYLTYPE *loc, struct _mesa_glsl_parse_state *state, int xfb_offset, const glsl_type *type, unsigned component_size) validate_xfb_offset_qualifier() argument
7745 unsigned xfb_offset; ast_process_struct_or_iface_block_members() local
8339 int xfb_offset = hir() local
[all...]
H A Dast_type.cpp888 Q2(explicit_xfb_offset, xfb_offset); in validate_flags()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_compiler.c1538 unsigned xfb_offset = 0; in rewrite_64bit_type() local
1542 xfb_offset += glsl_get_component_slots(fields[i].type) * 4; in rewrite_64bit_type()
1543 if (i < nmembers - 1 && xfb_offset % 8 && in rewrite_64bit_type()

Completed in 15 milliseconds