Home
last modified time | relevance | path

Searched refs:matrix_layout (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dlower_buffer_access.cpp208 const enum glsl_matrix_layout matrix_layout = in is_dereferenced_thing_row_major() local
209 glsl_matrix_layout(ir->type->fields.structure[idx].matrix_layout); in is_dereferenced_thing_row_major()
211 switch (matrix_layout) { in is_dereferenced_thing_row_major()
227 const enum glsl_matrix_layout matrix_layout = in is_dereferenced_thing_row_major() local
228 glsl_matrix_layout(var_deref->var->data.matrix_layout); in is_dereferenced_thing_row_major()
230 switch (matrix_layout) { in is_dereferenced_thing_row_major()
Dlink_uniforms.cpp169 const enum glsl_matrix_layout matrix_layout = in get_array_stride() local
170 glsl_matrix_layout(field->matrix_layout); in get_array_stride()
171 bool row_major = matrix_layout == GLSL_MATRIX_LAYOUT_ROW_MAJOR; in get_array_stride()
292 var->data.matrix_layout == GLSL_MATRIX_LAYOUT_ROW_MAJOR; in process()
375 const enum glsl_matrix_layout matrix_layout = in recursion() local
376 glsl_matrix_layout(t->fields.structure[i].matrix_layout); in recursion()
377 if (matrix_layout == GLSL_MATRIX_LAYOUT_ROW_MAJOR) { in recursion()
379 } else if (matrix_layout == GLSL_MATRIX_LAYOUT_COLUMN_MAJOR) { in recursion()
Dast_to_hir.cpp7274 enum glsl_matrix_layout matrix_layout, in ast_process_struct_or_iface_block_members() argument
7549 matrix_layout == GLSL_MATRIX_LAYOUT_ROW_MAJOR) { in ast_process_struct_or_iface_block_members()
7652 fields[i].matrix_layout = matrix_layout; in ast_process_struct_or_iface_block_members()
7655 fields[i].matrix_layout = GLSL_MATRIX_LAYOUT_ROW_MAJOR; in ast_process_struct_or_iface_block_members()
7657 fields[i].matrix_layout = GLSL_MATRIX_LAYOUT_COLUMN_MAJOR; in ast_process_struct_or_iface_block_members()
7662 assert(fields[i].matrix_layout == GLSL_MATRIX_LAYOUT_ROW_MAJOR in ast_process_struct_or_iface_block_members()
7663 || fields[i].matrix_layout == GLSL_MATRIX_LAYOUT_COLUMN_MAJOR); in ast_process_struct_or_iface_block_members()
7974 enum glsl_matrix_layout matrix_layout = GLSL_MATRIX_LAYOUT_INHERITED; in hir() local
7976 matrix_layout = GLSL_MATRIX_LAYOUT_ROW_MAJOR; in hir()
7978 matrix_layout = GLSL_MATRIX_LAYOUT_COLUMN_MAJOR; in hir()
[all …]
Dgl_nir_link_uniforms.c1251 const enum glsl_matrix_layout matrix_layout = in nir_link_uniform() local
1252 glsl_get_struct_field_data(type, i)->matrix_layout; in nir_link_uniform()
1253 if (matrix_layout == GLSL_MATRIX_LAYOUT_ROW_MAJOR) { in nir_link_uniform()
1255 } else if (matrix_layout == GLSL_MATRIX_LAYOUT_COLUMN_MAJOR) { in nir_link_uniform()
1814 var->data.matrix_layout == GLSL_MATRIX_LAYOUT_ROW_MAJOR; in gl_nir_link_uniforms()
Dir.h816 unsigned matrix_layout:2; member
Dbuiltin_variables.cpp342 this->fields[this->num_fields].matrix_layout = GLSL_MATRIX_LAYOUT_INHERITED; in add_field()
Dglsl_to_nir.cpp488 var->data.matrix_layout = ir->data.matrix_layout; in visit()
Dir.cpp2034 this->data.matrix_layout = GLSL_MATRIX_LAYOUT_INHERITED; in ir_variable()
/external/mesa3d/src/compiler/
Dglsl_types.cpp1233 if (this->fields.structure[i].matrix_layout in record_compare()
1234 != b->fields.structure[i].matrix_layout) in record_compare()
1903 const enum glsl_matrix_layout matrix_layout = in std140_base_alignment() local
1904 glsl_matrix_layout(this->fields.structure[i].matrix_layout); in std140_base_alignment()
1905 if (matrix_layout == GLSL_MATRIX_LAYOUT_ROW_MAJOR) { in std140_base_alignment()
1907 } else if (matrix_layout == GLSL_MATRIX_LAYOUT_COLUMN_MAJOR) { in std140_base_alignment()
2033 const enum glsl_matrix_layout matrix_layout = in std140_size() local
2034 glsl_matrix_layout(this->fields.structure[i].matrix_layout); in std140_size()
2035 if (matrix_layout == GLSL_MATRIX_LAYOUT_ROW_MAJOR) { in std140_size()
2037 } else if (matrix_layout == GLSL_MATRIX_LAYOUT_COLUMN_MAJOR) { in std140_size()
[all …]
Dglsl_types.h1420 unsigned matrix_layout:2; member
1464 matrix_layout = GLSL_MATRIX_LAYOUT_INHERITED; in glsl_struct_field()
1471 matrix_layout = GLSL_MATRIX_LAYOUT_INHERITED; in glsl_struct_field()
1478 matrix_layout = GLSL_MATRIX_LAYOUT_INHERITED; in glsl_struct_field()
/external/mesa3d/src/compiler/nir/
Dnir.h468 unsigned matrix_layout:2; member
/external/mesa3d/docs/relnotes/
D20.1.0.rst4131 - nir: add matrix_layout to nir_variable data