Searched refs:matrix_layout (Results 1 – 12 of 12) sorted by relevance
208 const enum glsl_matrix_layout matrix_layout = in is_dereferenced_thing_row_major() local209 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() local228 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()
169 const enum glsl_matrix_layout matrix_layout = in get_array_stride() local170 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() local376 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()
7274 enum glsl_matrix_layout matrix_layout, in ast_process_struct_or_iface_block_members() argument7549 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() local7976 matrix_layout = GLSL_MATRIX_LAYOUT_ROW_MAJOR; in hir()7978 matrix_layout = GLSL_MATRIX_LAYOUT_COLUMN_MAJOR; in hir()[all …]
1251 const enum glsl_matrix_layout matrix_layout = in nir_link_uniform() local1252 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()
816 unsigned matrix_layout:2; member
342 this->fields[this->num_fields].matrix_layout = GLSL_MATRIX_LAYOUT_INHERITED; in add_field()
488 var->data.matrix_layout = ir->data.matrix_layout; in visit()
2034 this->data.matrix_layout = GLSL_MATRIX_LAYOUT_INHERITED; in ir_variable()
1233 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() local1904 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() local2034 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 …]
1420 unsigned matrix_layout:2; member1464 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()
468 unsigned matrix_layout:2; member
4131 - nir: add matrix_layout to nir_variable data