Searched refs:array_type (Results 1 - 19 of 19) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
H A Duniform_initializer_utils.cpp194 const glsl_type *const array_type = local in function:generate_array_data
196 ASSERT_FALSE(array_type->is_error());
208 val = new(mem_ctx) ir_constant(array_type, &values_for_array);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Duniform_initializer_utils.cpp194 const glsl_type *const array_type = local in function:generate_array_data
196 ASSERT_FALSE(array_type->is_error());
208 val = new(mem_ctx) ir_constant(array_type, &values_for_array);
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dgl_nir_linker.c272 const struct glsl_type *array_type = glsl_get_array_element(type); local in function:add_shader_variable
273 if (glsl_get_base_type(array_type) == GLSL_TYPE_STRUCT ||
274 glsl_get_base_type(array_type) == GLSL_TYPE_ARRAY) {
277 glsl_count_attribute_slots(array_type, false);
282 var, elem, array_type,
H A Dlink_uniforms.cpp172 const glsl_type *array_type = field->type->fields.array; local in function:get_array_stride
181 if (array_type->is_struct() || array_type->is_array())
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);
H A Dglsl_to_nir.cpp437 wrap_type_in_array(const glsl_type *elem_type, const glsl_type *array_type) argument
439 if (!array_type->is_array())
442 elem_type = wrap_type_in_array(elem_type, array_type->fields.array);
444 return glsl_type::get_array_instance(elem_type, array_type->length);
H A Dlinker.cpp3889 const struct glsl_type *array_type = type->fields.array; local in function:add_shader_variable
3890 if (array_type->base_type == GLSL_TYPE_STRUCT ||
3891 array_type->base_type == GLSL_TYPE_ARRAY) {
3894 array_type->count_attribute_slots(false);
3899 var, elem, array_type,
H A Dast_to_hir.cpp2376 const glsl_type *array_type = base; local in function:process_array_type
2393 array_type = glsl_type::get_array_instance(array_type, array_size);
2397 return array_type;
/xsrc/external/mit/MesaLib/dist/src/microsoft/spirv_to_dxil/
H A Dspirv_to_dxil.c53 const struct glsl_type *array_type = local in function:add_runtime_data_var
56 const struct glsl_struct_field field = {array_type, "arr"};
/xsrc/external/mit/MesaLib/dist/src/compiler/
H A Dglsl_types.cpp1949 const struct glsl_type *vec_type, *array_type; local in function:glsl_type::std140_base_alignment
1955 array_type = glsl_type::get_array_instance(vec_type, r);
1958 array_type = glsl_type::get_array_instance(vec_type, c);
1961 return array_type->std140_base_alignment(false);
2060 const glsl_type *array_type = glsl_type::get_array_instance(vec_type, local in function:glsl_type::std140_size
2063 return array_type->std140_size(false);
2274 const struct glsl_type *vec_type, *array_type; local in function:glsl_type::std430_base_alignment
2280 array_type = glsl_type::get_array_instance(vec_type, r);
2283 array_type = glsl_type::get_array_instance(vec_type, c);
2286 return array_type
2453 const glsl_type *array_type = glsl_type::get_array_instance(vec_type, local in function:glsl_type::std430_size
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
H A Dglsl_types.cpp1694 const struct glsl_type *vec_type, *array_type; local in function:glsl_type::std140_base_alignment
1700 array_type = glsl_type::get_array_instance(vec_type, r);
1703 array_type = glsl_type::get_array_instance(vec_type, c);
1706 return array_type->std140_base_alignment(false);
1805 const glsl_type *array_type = glsl_type::get_array_instance(vec_type, local in function:glsl_type::std140_size
1808 return array_type->std140_size(false);
2019 const struct glsl_type *vec_type, *array_type; local in function:glsl_type::std430_base_alignment
2025 array_type = glsl_type::get_array_instance(vec_type, r);
2028 array_type = glsl_type::get_array_instance(vec_type, c);
2031 return array_type
2130 const glsl_type *array_type = glsl_type::get_array_instance(vec_type, local in function:glsl_type::std430_size
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_split_vars.c54 const struct glsl_type *array_type)
56 if (!glsl_type_is_array(array_type))
60 wrap_type_in_array(type, glsl_get_array_element(array_type));
61 assert(glsl_get_explicit_stride(array_type) == 0);
62 return glsl_array_type(elem_type, glsl_get_length(array_type), 0);
53 wrap_type_in_array(const struct glsl_type * type,const struct glsl_type * array_type) argument
/xsrc/external/mit/MesaLib/dist/src/microsoft/clc/
H A Dclc_compiler.c414 const struct glsl_type *array_type = glsl_array_type(glsl_uint_type(), size / 4, 4); local in function:add_kernel_inputs_var
415 const struct glsl_struct_field field = { array_type, "arr" };
430 const struct glsl_type *array_type = local in function:add_work_properties_var
434 const struct glsl_struct_field field = { array_type, "arr" };
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_split_vars.c83 const struct glsl_type *array_type)
85 if (!glsl_type_is_array(array_type))
89 wrap_type_in_array(type, glsl_get_array_element(array_type));
90 assert(glsl_get_explicit_stride(array_type) == 0);
91 return glsl_array_type(elem_type, glsl_get_length(array_type), 0);
82 wrap_type_in_array(const struct glsl_type * type,const struct glsl_type * array_type) argument
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlinker.cpp4021 const struct glsl_type *array_type = type->fields.array; local in function:add_shader_variable
4022 if (array_type->base_type == GLSL_TYPE_STRUCT ||
4023 array_type->base_type == GLSL_TYPE_ARRAY) {
4026 array_type->count_attribute_slots(false);
4031 var, elem, array_type,
4333 const glsl_type *array_type = field->type->fields.array; local in function:get_array_stride
4343 if (array_type->is_struct() || array_type->is_array())
4344 return glsl_align(array_type->std140_size(row_major), 16);
4346 return MAX2(array_type
[all...]
H A Dglsl_to_nir.cpp386 wrap_type_in_array(const glsl_type *elem_type, const glsl_type *array_type) argument
388 if (!array_type->is_array())
391 elem_type = wrap_type_in_array(elem_type, array_type->fields.array);
393 return glsl_type::get_array_instance(elem_type, array_type->length);
H A Dast_to_hir.cpp2336 const glsl_type *array_type = base; local in function:process_array_type
2353 array_type = glsl_type::get_array_instance(array_type, array_size);
2357 return array_type;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c906 SpvId array_type = spirv_builder_type_array(&ctx->builder, get_uvec_type(ctx, bitsize, 1), local in function:get_sized_uint_array_type
908 spirv_builder_emit_array_stride(&ctx->builder, array_type, bitsize / 8);
909 return array_type;
916 SpvId array_type; local in function:get_bo_array_type
927 array_type = spirv_builder_type_runtime_array(&ctx->builder, uint_type);
928 spirv_builder_emit_array_stride(&ctx->builder, array_type, bitsize / 8);
929 return array_type;
935 SpvId array_type = get_bo_array_type(ctx, var, bitsize); local in function:get_bo_struct_type
948 SpvId types[] = {array_type, runtime_array};
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dspirv_to_nir.c850 const struct glsl_type *array_type)
852 if (!glsl_type_is_array(array_type))
856 wrap_type_in_array(type, glsl_get_array_element(array_type));
857 return glsl_array_type(elem_type, glsl_get_length(array_type),
858 glsl_get_explicit_stride(array_type));
849 wrap_type_in_array(const struct glsl_type * type,const struct glsl_type * array_type) argument
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Dnir_to_dxil.c909 const struct dxil_type *array_type = local in function:emit_globals
911 if (!array_type)
916 emit_uav_metadata(&ctx->mod, array_type,
1109 const struct dxil_type *array_type = dxil_module_get_array_type(&ctx->mod, float32, size); local in function:emit_cbv
1111 &array_type, 1);

Completed in 97 milliseconds