Searched refs:row_major (Results 1 - 25 of 49) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_buffer_access.h51 bool row_major, const glsl_type *matrix_type,
59 bool *row_major,
H A Dlinker.h103 link_calculate_matrix_stride(const glsl_type *matrix, bool row_major,
182 * \param row_major For a matrix type, is it stored row-major.
189 bool row_major, const glsl_type *record_type,
194 bool row_major, const enum glsl_interface_packing packing);
197 bool row_major, const enum glsl_interface_packing packing);
212 bool row_major, const glsl_type *record_type,
H A Dlower_buffer_access.cpp61 bool row_major,
78 field_align = field->type->std430_base_alignment(row_major);
80 field_align = field->type->std140_base_alignment(row_major);
85 row_major, NULL, packing,
89 field_offset += field->type->std430_size(row_major);
91 field_offset += field->type->std140_size(row_major);
98 deref->type->fields.array->std430_array_stride(row_major) :
99 glsl_align(deref->type->fields.array->std140_size(row_major), 16);
108 row_major, NULL, packing,
123 const unsigned size_mul = row_major
56 emit_access(void * mem_ctx,bool is_write,ir_dereference * deref,ir_variable * base_offset,unsigned int deref_offset,bool row_major,const glsl_type * matrix_type,enum glsl_interface_packing packing,unsigned int write_mask) argument
273 setup_buffer_access(void * mem_ctx,ir_rvalue * deref,ir_rvalue ** offset,unsigned * const_offset,bool * row_major,const glsl_type ** matrix_type,const glsl_struct_field ** struct_field,enum glsl_interface_packing packing) argument
[all...]
H A Dir_uniform.h159 bool row_major; member in struct:gl_uniform_storage
H A Dlink_uniforms.cpp171 bool row_major = matrix_layout == GLSL_MATRIX_LAYOUT_ROW_MAJOR; local in function:get_array_stride
182 return glsl_align(array_type->std140_size(row_major), 16);
184 return MAX2(array_type->std140_base_alignment(row_major), 16);
186 return array_type->std430_array_stride(row_major);
291 const bool row_major = local in function:program_resource_visitor::process
302 /* false is always passed for the row_major parameter to the other
309 recursion(var->type, &name, strlen(name), row_major, NULL, packing,
318 recursion(t, &name, strlen(name), row_major, NULL, packing,
323 this->visit_field(t, var->name, row_major, NULL, packing, false);
329 size_t name_length, bool row_major,
328 recursion(const glsl_type * t,char ** name,size_t name_length,bool row_major,const glsl_type * record_type,const enum glsl_interface_packing packing,bool last_field,unsigned record_array_count,const glsl_struct_field * named_ifc_member) argument
625 link_calculate_matrix_stride(const glsl_type * matrix,bool row_major,enum glsl_interface_packing packing) argument
1016 enter_record(const glsl_type * type,const char *,bool row_major,const enum glsl_interface_packing packing) argument
1031 leave_record(const glsl_type * type,const char *,bool row_major,const enum glsl_interface_packing packing) argument
1046 visit_field(const glsl_type * type,const char * name,bool row_major,const glsl_type *,const enum glsl_interface_packing packing,bool) argument
[all...]
H A Dlower_shared_reference.cpp142 bool row_major; local in function:__anon9d6f96a50110::lower_shared_reference_visitor::handle_rvalue
149 &row_major, &matrix_type, NULL, packing);
168 emit_access(mem_ctx, false, deref, load_offset, const_offset, row_major,
210 bool row_major; local in function:__anon9d6f96a50110::lower_shared_reference_visitor::handle_assignment
217 &row_major, &matrix_type, NULL, packing);
228 emit_access(mem_ctx, true, deref, store_offset, const_offset, row_major,
370 bool row_major; local in function:__anon9d6f96a50110::lower_shared_reference_visitor::lower_shared_atomic_intrinsic
378 &row_major, &matrix_type, NULL, packing);
381 assert(!row_major);
H A Dlink_uniform_blocks.cpp68 bool row_major,
74 this->offset, type->std430_base_alignment(row_major));
77 this->offset, type->std140_base_alignment(row_major));
81 bool row_major,
95 this->offset, type->std430_base_alignment(row_major));
98 this->offset, type->std140_base_alignment(row_major));
107 bool row_major, const glsl_type *,
117 v->RowMajor = type->without_array()->is_matrix() && row_major;
204 bool /* row_major */,
67 enter_record(const glsl_type * type,const char *,bool row_major,const enum glsl_interface_packing packing) argument
80 leave_record(const glsl_type * type,const char *,bool row_major,const enum glsl_interface_packing packing) argument
106 visit_field(const glsl_type * type,const char * name,bool row_major,const glsl_type *,const enum glsl_interface_packing packing,bool last_field) argument
H A Dlower_ubo_reference.cpp32 * layout issues like std140 structures and row_major matrices on
67 bool *row_major,
279 bool *row_major,
329 setup_buffer_access(mem_ctx, deref, offset, const_offset, row_major,
351 bool row_major; local in function:__anonf648b2340110::lower_ubo_reference_visitor::handle_rvalue
368 &row_major, &matrix_type,
389 row_major, matrix_type, packing, 0);
567 bool row_major; local in function:__anonf648b2340110::lower_ubo_reference_visitor::write_to_memory
582 &row_major, &matrix_type,
597 row_major, matrix_typ
274 setup_for_load_or_store(void * mem_ctx,ir_variable * var,ir_rvalue * deref,ir_rvalue ** offset,unsigned * const_offset,bool * row_major,const glsl_type ** matrix_type,enum glsl_interface_packing packing) argument
749 bool row_major; local in function:__anonf648b2340110::lower_ubo_reference_visitor::process_ssbo_unsized_array_length
988 bool row_major; local in function:__anonf648b2340110::lower_ubo_reference_visitor::lower_ssbo_atomic_intrinsic
[all...]
H A Dgl_nir_link_uniforms.c1118 bool row_major)
1131 state->offset, glsl_get_std430_base_alignment(type, row_major));
1134 state->offset, glsl_get_std140_base_alignment(type, row_major));
1141 bool row_major)
1154 state->offset, glsl_get_std430_base_alignment(type, row_major));
1157 state->offset, glsl_get_std140_base_alignment(type, row_major));
1173 char **name, size_t name_length, bool row_major)
1216 enter_record(state, ctx, type, row_major);
1221 bool field_row_major = row_major;
1287 leave_record(state, ctx, type, row_major);
1115 enter_record(struct nir_link_uniforms_state * state,struct gl_context * ctx,const struct glsl_type * type,bool row_major) argument
1138 leave_record(struct nir_link_uniforms_state * state,struct gl_context * ctx,const struct glsl_type * type,bool row_major) argument
1165 nir_link_uniform(struct gl_context * ctx,struct gl_shader_program * prog,struct gl_program * stage_program,gl_shader_stage stage,const struct glsl_type * type,unsigned index_in_parent,int location,struct nir_link_uniforms_state * state,char ** name,size_t name_length,bool row_major) argument
1817 bool row_major = local in function:gl_nir_link_uniforms
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_buffer_access.h51 bool row_major, const glsl_type *matrix_type,
59 bool *row_major,
H A Dlinker.h102 link_calculate_matrix_stride(const glsl_type *matrix, bool row_major,
181 * \param row_major For a matrix type, is it stored row-major.
188 bool row_major, const glsl_type *record_type,
193 bool row_major, const enum glsl_interface_packing packing);
196 bool row_major, const enum glsl_interface_packing packing);
211 bool row_major, const glsl_type *record_type,
H A Dlower_buffer_access.cpp61 bool row_major,
78 field_align = field->type->std430_base_alignment(row_major);
80 field_align = field->type->std140_base_alignment(row_major);
85 row_major, NULL, packing,
89 field_offset += field->type->std430_size(row_major);
91 field_offset += field->type->std140_size(row_major);
98 deref->type->fields.array->std430_array_stride(row_major) :
99 glsl_align(deref->type->fields.array->std140_size(row_major), 16);
108 row_major, NULL, packing,
123 const unsigned size_mul = row_major
56 emit_access(void * mem_ctx,bool is_write,ir_dereference * deref,ir_variable * base_offset,unsigned int deref_offset,bool row_major,const glsl_type * matrix_type,enum glsl_interface_packing packing,unsigned int write_mask) argument
273 setup_buffer_access(void * mem_ctx,ir_rvalue * deref,ir_rvalue ** offset,unsigned * const_offset,bool * row_major,const glsl_type ** matrix_type,const glsl_struct_field ** struct_field,enum glsl_interface_packing packing) argument
[all...]
H A Dir_uniform.h159 bool row_major; member in struct:gl_uniform_storage
H A Dlink_uniforms.cpp76 const bool row_major = local in function:program_resource_visitor::process
87 /* false is always passed for the row_major parameter to the other
94 recursion(var->type, &name, strlen(name), row_major, NULL, packing,
103 recursion(t, &name, strlen(name), row_major, NULL, packing,
108 this->visit_field(t, var->name, row_major, NULL, packing, false);
114 size_t name_length, bool row_major,
130 recursion(named_ifc_member->type, name, name_length, row_major, NULL,
137 this->enter_record(t, *name, row_major, packing);
159 bool field_row_major = row_major;
182 this->leave_record(t, *name, row_major, packin
113 recursion(const glsl_type * t,char ** name,size_t name_length,bool row_major,const glsl_type * record_type,const enum glsl_interface_packing packing,bool last_field,unsigned record_array_count,const glsl_struct_field * named_ifc_member) argument
410 link_calculate_matrix_stride(const glsl_type * matrix,bool row_major,enum glsl_interface_packing packing) argument
787 enter_record(const glsl_type * type,const char *,bool row_major,const enum glsl_interface_packing packing) argument
802 leave_record(const glsl_type * type,const char *,bool row_major,const enum glsl_interface_packing packing) argument
817 visit_field(const glsl_type * type,const char * name,bool row_major,const glsl_type *,const enum glsl_interface_packing packing,bool) argument
[all...]
H A Dlower_shared_reference.cpp140 bool row_major; local in function:__anonc11af5520110::lower_shared_reference_visitor::handle_rvalue
147 &row_major, &matrix_type, NULL, packing);
166 emit_access(mem_ctx, false, deref, load_offset, const_offset, row_major,
208 bool row_major; local in function:__anonc11af5520110::lower_shared_reference_visitor::handle_assignment
215 &row_major, &matrix_type, NULL, packing);
226 emit_access(mem_ctx, true, deref, store_offset, const_offset, row_major,
368 bool row_major; local in function:__anonc11af5520110::lower_shared_reference_visitor::lower_shared_atomic_intrinsic
376 &row_major, &matrix_type, NULL, packing);
379 assert(!row_major);
H A Dlink_uniform_blocks.cpp68 bool row_major,
74 this->offset, type->std430_base_alignment(row_major));
77 this->offset, type->std140_base_alignment(row_major));
81 bool row_major,
95 this->offset, type->std430_base_alignment(row_major));
98 this->offset, type->std140_base_alignment(row_major));
107 bool row_major, const glsl_type *,
117 v->RowMajor = type->without_array()->is_matrix() && row_major;
204 bool /* row_major */,
67 enter_record(const glsl_type * type,const char *,bool row_major,const enum glsl_interface_packing packing) argument
80 leave_record(const glsl_type * type,const char *,bool row_major,const enum glsl_interface_packing packing) argument
106 visit_field(const glsl_type * type,const char * name,bool row_major,const glsl_type *,const enum glsl_interface_packing packing,bool last_field) argument
H A Dlower_ubo_reference.cpp32 * layout issues like std140 structures and row_major matrices on
65 bool *row_major,
277 bool *row_major,
327 setup_buffer_access(mem_ctx, deref, offset, const_offset, row_major,
349 bool row_major; local in function:__anon515fc8010110::lower_ubo_reference_visitor::handle_rvalue
366 &row_major, &matrix_type,
387 row_major, matrix_type, packing, 0);
565 bool row_major; local in function:__anon515fc8010110::lower_ubo_reference_visitor::write_to_memory
580 &row_major, &matrix_type,
595 row_major, matrix_typ
272 setup_for_load_or_store(void * mem_ctx,ir_variable * var,ir_rvalue * deref,ir_rvalue ** offset,unsigned * const_offset,bool * row_major,const glsl_type ** matrix_type,enum glsl_interface_packing packing) argument
747 bool row_major; local in function:__anon515fc8010110::lower_ubo_reference_visitor::process_ssbo_unsized_array_length
986 bool row_major; local in function:__anon515fc8010110::lower_ubo_reference_visitor::lower_ssbo_atomic_intrinsic
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/
H A Dglsl_types.h451 bool row_major = false,
487 bool row_major,
589 unsigned std140_base_alignment(bool row_major) const;
596 unsigned std140_size(bool row_major) const;
601 const glsl_type *get_explicit_std140_type(bool row_major) const;
607 unsigned std430_base_alignment(bool row_major) const;
613 unsigned std430_array_stride(bool row_major) const;
620 unsigned std430_size(bool row_major) const;
625 const glsl_type *get_explicit_std430_type(bool row_major) const;
1284 unsigned explicit_stride = 0, bool row_major
[all...]
H A Dnir_types.h62 bool row_major);
63 unsigned glsl_get_std140_size(const struct glsl_type *type, bool row_major);
65 bool row_major);
66 unsigned glsl_get_std430_size(const struct glsl_type *type, bool row_major);
195 bool row_major);
207 bool row_major,
H A Dglsl_types.cpp50 unsigned explicit_stride, bool row_major,
55 interface_packing(0), interface_row_major(row_major), packed(0),
140 bool row_major, const char *name) :
145 interface_row_major((unsigned) row_major), packed(0),
669 unsigned explicit_stride, bool row_major,
673 assert(explicit_stride == 0 && explicit_alignment == 0 && !row_major);
688 assert(columns > 1 || (rows > 1 && !row_major));
692 explicit_stride, explicit_alignment, row_major ? "RM" : "");
709 explicit_stride, row_major,
729 assert(!row_major);
47 glsl_type(GLenum gl_type,glsl_base_type base_type,unsigned vector_elements,unsigned matrix_columns,const char * name,unsigned explicit_stride,bool row_major,unsigned explicit_alignment) argument
138 glsl_type(const glsl_struct_field * fields,unsigned num_fields,enum glsl_interface_packing packing,bool row_major,const char * name) argument
1377 get_interface_instance(const glsl_struct_field * fields,unsigned num_fields,enum glsl_interface_packing packing,bool row_major,const char * block_name) argument
3178 bool row_major = encoded.strct.interface_row_major; local in function:decode_type_from_blob
[all...]
H A Dnir_types.cpp569 unsigned stride, bool row_major)
575 stride, row_major);
613 bool row_major,
617 row_major, block_name);
942 glsl_get_std140_base_alignment(const struct glsl_type *type, bool row_major) argument
944 return type->std140_base_alignment(row_major);
948 glsl_get_std140_size(const struct glsl_type *type, bool row_major) argument
950 return type->std140_size(row_major);
954 glsl_get_std430_base_alignment(const struct glsl_type *type, bool row_major) argument
956 return type->std430_base_alignment(row_major);
568 glsl_explicit_matrix_type(const glsl_type * mat,unsigned stride,bool row_major) argument
610 glsl_interface_type(const glsl_struct_field * fields,unsigned num_fields,enum glsl_interface_packing packing,bool row_major,const char * block_name) argument
960 glsl_get_std430_size(const struct glsl_type * type,bool row_major) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
H A Dglsl_types.h339 bool row_major = false);
373 bool row_major,
454 unsigned std140_base_alignment(bool row_major) const;
461 unsigned std140_size(bool row_major) const;
466 const glsl_type *get_explicit_std140_type(bool row_major) const;
472 unsigned std430_base_alignment(bool row_major) const;
478 unsigned std430_array_stride(bool row_major) const;
485 unsigned std430_size(bool row_major) const;
490 const glsl_type *get_explicit_std430_type(bool row_major) const;
1002 unsigned explicit_stride = 0, bool row_major
[all...]
H A Dglsl_types.cpp49 unsigned explicit_stride, bool row_major) :
53 interface_packing(0), interface_row_major(row_major), packed(0),
132 bool row_major, const char *name) :
137 interface_row_major((unsigned) row_major), packed(0),
622 unsigned explicit_stride, bool row_major)
625 assert(explicit_stride == 0 && !row_major);
635 assert(columns > 1 || !row_major);
639 explicit_stride, row_major ? "RM" : "");
655 explicit_stride, row_major);
671 assert(!row_major);
46 glsl_type(GLenum gl_type,glsl_base_type base_type,unsigned vector_elements,unsigned matrix_columns,const char * name,unsigned explicit_stride,bool row_major) argument
130 glsl_type(const glsl_struct_field * fields,unsigned num_fields,enum glsl_interface_packing packing,bool row_major,const char * name) argument
1195 get_interface_instance(const glsl_struct_field * fields,unsigned num_fields,enum glsl_interface_packing packing,bool row_major,const char * block_name) argument
2569 bool row_major = blob_read_uint32(blob); local in function:decode_type_from_blob
[all...]
H A Dnir_types.cpp493 unsigned stride, bool row_major)
499 stride, row_major);
523 bool row_major,
527 row_major, block_name);
492 glsl_explicit_matrix_type(const glsl_type * mat,unsigned stride,bool row_major) argument
520 glsl_interface_type(const glsl_struct_field * fields,unsigned num_fields,enum glsl_interface_packing packing,bool row_major,const char * block_name) argument
H A Dnir_types.h163 bool row_major);
175 bool row_major,

Completed in 26 milliseconds

12