| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/ |
| uniform_initializer_utils.cpp | 194 const glsl_type *const array_type = local 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/ |
| uniform_initializer_utils.cpp | 194 const glsl_type *const array_type = local 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/ |
| gl_nir_linker.c | 272 const struct glsl_type *array_type = glsl_get_array_element(type); local 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,
|
| link_uniforms.cpp | 172 const glsl_type *array_type = field->type->fields.array; local 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);
|
| glsl_to_nir.cpp | 437 wrap_type_in_array(const glsl_type *elem_type, const glsl_type *array_type) 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);
|
| linker.cpp | 3889 const struct glsl_type *array_type = type->fields.array; local 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,
|
| ast_to_hir.cpp | 2376 const glsl_type *array_type = base; local 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/ |
| spirv_to_dxil.c | 53 const struct glsl_type *array_type = local 56 const struct glsl_struct_field field = {array_type, "arr"};
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/ |
| glsl_types.cpp | 1949 const struct glsl_type *vec_type, *array_type; local 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 2063 return array_type->std140_size(false); 2274 const struct glsl_type *vec_type, *array_type; local 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->std430_base_alignment(false) 2453 const glsl_type *array_type = glsl_type::get_array_instance(vec_type, local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/ |
| glsl_types.cpp | 1694 const struct glsl_type *vec_type, *array_type; local 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 1808 return array_type->std140_size(false); 2019 const struct glsl_type *vec_type, *array_type; local 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->std430_base_alignment(false) 2130 const glsl_type *array_type = glsl_type::get_array_instance(vec_type, local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| nir_split_vars.c | 54 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);
|
| /xsrc/external/mit/MesaLib/dist/src/microsoft/clc/ |
| clc_compiler.c | 414 const struct glsl_type *array_type = glsl_array_type(glsl_uint_type(), size / 4, 4); local 415 const struct glsl_struct_field field = { array_type, "arr" }; 430 const struct glsl_type *array_type = local 434 const struct glsl_struct_field field = { array_type, "arr" };
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_split_vars.c | 83 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);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| linker.cpp | 4021 const struct glsl_type *array_type = type->fields.array; local 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 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->std140_base_alignment(row_major), 16) [all...] |
| glsl_to_nir.cpp | 386 wrap_type_in_array(const glsl_type *elem_type, const glsl_type *array_type) 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);
|
| ast_to_hir.cpp | 2336 const glsl_type *array_type = base; local 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/ |
| nir_to_spirv.c | 906 SpvId array_type = spirv_builder_type_array(&ctx->builder, get_uvec_type(ctx, bitsize, 1), local 908 spirv_builder_emit_array_stride(&ctx->builder, array_type, bitsize / 8); 909 return array_type; 916 SpvId array_type; local 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 948 SpvId types[] = {array_type, runtime_array};
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/spirv/ |
| spirv_to_nir.c | 850 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));
|
| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| nir_to_dxil.c | 909 const struct dxil_type *array_type = local 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 1111 &array_type, 1);
|