| /xsrc/external/mit/MesaLib.old/dist/src/compiler/ |
| nir_types.cpp | 32 glsl_get_type_name(const glsl_type *type) 34 return type->name; 38 glsl_get_array_element(const glsl_type* type) 40 if (type->is_matrix()) 41 return type->column_type(); 42 else if (type->is_vector()) 43 return type->get_scalar_type(); 44 return type->fields.array; 48 glsl_without_array(const glsl_type *type) 50 return type->without_array() [all...] |
| nir_types.h | 44 const char *glsl_get_type_name(const struct glsl_type *type); 46 const struct glsl_type *glsl_get_struct_field(const struct glsl_type *type, 49 int glsl_get_struct_field_offset(const struct glsl_type *type, 53 glsl_get_struct_field_data(const struct glsl_type *type, unsigned index); 55 unsigned glsl_get_explicit_stride(const struct glsl_type *type); 56 const struct glsl_type *glsl_get_array_element(const struct glsl_type *type); 57 const struct glsl_type *glsl_without_array(const struct glsl_type *type); 58 const struct glsl_type *glsl_without_array_or_matrix(const struct glsl_type *type); 59 const struct glsl_type *glsl_get_bare_type(const struct glsl_type *type); 61 const struct glsl_type *glsl_get_column_type(const struct glsl_type *type); [all...] |
| /xsrc/external/mit/libdrm/dist/tests/util/ |
| kms.h | 29 const char *util_lookup_encoder_type_name(unsigned int type); 30 const char *util_lookup_connector_status_name(unsigned int type);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/ |
| nir_types.cpp | 32 glsl_get_type_name(const glsl_type *type) 34 return type->name; 38 glsl_array_size(const struct glsl_type *type) 40 return type->array_size(); 44 glsl_get_array_element(const glsl_type* type) 46 if (type->is_matrix()) 47 return type->column_type(); 48 else if (type->is_vector()) 49 return type->get_scalar_type(); 50 return type->fields.array [all...] |
| nir_types.h | 44 const char *glsl_get_type_name(const struct glsl_type *type); 46 const struct glsl_type *glsl_get_struct_field(const struct glsl_type *type, 49 int glsl_get_struct_field_offset(const struct glsl_type *type, 53 glsl_get_struct_field_data(const struct glsl_type *type, unsigned index); 56 glsl_get_internal_ifc_packing(const struct glsl_type *type, 59 glsl_get_ifc_packing(const struct glsl_type *type); 61 unsigned glsl_get_std140_base_alignment(const struct glsl_type *type, 63 unsigned glsl_get_std140_size(const struct glsl_type *type, bool row_major); 64 unsigned glsl_get_std430_base_alignment(const struct glsl_type *type, 66 unsigned glsl_get_std430_size(const struct glsl_type *type, bool row_major) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_glsl_types.cpp | 30 * Returns the number of places to offset the uniform index, given the type of 35 st_glsl_storage_type_size(const struct glsl_type *type, bool is_bindless) 40 switch (type->base_type) { 45 if (type->is_matrix()) { 46 return type->matrix_columns; 57 if (type->is_matrix()) { 58 if (type->vector_elements <= 2) 59 return type->matrix_columns; 61 return type->matrix_columns * 2; 66 if (type->vector_elements <= 2 [all...] |
| st_glsl_types.h | 36 int st_glsl_storage_type_size(const struct glsl_type *type, 39 int st_glsl_uniforms_type_size(const struct glsl_type *type, bool bindless); 41 int st_glsl_type_dword_size(const struct glsl_type *type, bool bindless);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| ir_validate.cpp | 104 if (ir->var->type->without_array() != ir->type->without_array()) { 105 printf("ir_dereference_variable type is not equal to variable type: "); 126 if (!ir->array->type->is_array() && !ir->array->type->is_matrix() && 127 !ir->array->type->is_vector()) { 136 if (ir->array->type->is_array()) { 137 if (ir->array->type->fields.array != ir->type) { [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_const.c | 48 lp_mantissa(struct lp_type type) 50 assert(type.floating); 52 if(type.floating) { 53 switch(type.width) { 66 if(type.sign) 67 return type.width - 1; 69 return type.width; 80 lp_const_shift(struct lp_type type) 82 if(type.floating) 84 else if(type.fixed [all...] |
| lp_bld_type.h | 79 * The LLVM type system can't conveniently express all the things we care about 125 * Vector length. If length==1, this is a scalar (float/int) type. 148 struct lp_type type; member in struct:lp_build_context 150 /** Same as lp_build_elem_type(type) */ 153 /** Same as lp_build_vec_type(type) */ 156 /** Same as lp_build_int_elem_type(type) */ 159 /** Same as lp_build_int_vec_type(type) */ 162 /** Same as lp_build_undef(type) */ 165 /** Same as lp_build_zero(type) */ 168 /** Same as lp_build_one(type) */ 374 struct lp_type type; local 390 struct lp_type type; local 406 struct lp_type type; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_const.c | 48 lp_mantissa(struct lp_type type) 50 assert(type.floating); 52 if(type.floating) { 53 switch(type.width) { 66 if(type.sign) 67 return type.width - 1; 69 return type.width; 80 lp_const_shift(struct lp_type type) 82 if(type.floating) 84 else if(type.fixed [all...] |
| lp_bld_type.h | 79 * The LLVM type system can't conveniently express all the things we care about 125 * Vector length. If length==1, this is a scalar (float/int) type. 148 struct lp_type type; member in struct:lp_build_context 150 /** Same as lp_build_elem_type(type) */ 153 /** Same as lp_build_vec_type(type) */ 156 /** Same as lp_build_int_elem_type(type) */ 159 /** Same as lp_build_int_vec_type(type) */ 162 /** Same as lp_build_undef(type) */ 165 /** Same as lp_build_zero(type) */ 168 /** Same as lp_build_one(type) */ 374 struct lp_type type; local 390 struct lp_type type; local 406 struct lp_type type; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/ |
| sfn_callstack.h | 38 int push(unsigned type); 39 void pop(unsigned type); 40 int update_max_depth(unsigned type);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| ir_validate.cpp | 113 if (!ir->array->type->is_array() && !ir->array->type->is_matrix() && 114 !ir->array->type->is_vector()) { 123 if (!ir->array_index->type->is_scalar()) { 125 (void *) ir, ir->array_index->type->name); 129 if (!ir->array_index->type->is_integer()) { 131 (void *) ir, ir->array_index->type->name); 141 if (ir->condition && ir->condition->type != glsl_type::bool_type) { 142 printf("ir_discard condition %s type instead of bool.\n", 143 ir->condition->type->name) [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xwin/glx/ |
| wgl_ext_api.c | 42 #define RESOLVE_DECL(type) \ 43 static type type##proc = NULL; 45 #define PRERESOLVE(type, symbol) \ 46 type##proc = (type)wglGetProcAddress(symbol); \ 47 if (type##proc == NULL) \ 52 #define RESOLVE_RET(type, symbol, retval) \ 53 if (type##proc == NULL) { \ 60 #define RESOLVED_PROC(type) type##pro [all...] |
| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| dxil_enums.c | 31 enum dxil_prog_sig_comp_type dxil_get_prog_sig_comp_type(const struct glsl_type *type) 33 type = glsl_without_array(type); 35 switch (glsl_get_base_type(type)) { 47 debug_printf("unexpected type: %s\n", glsl_get_type_name(type)); 52 enum dxil_component_type dxil_get_comp_type(const struct glsl_type *type) 54 type = glsl_without_array(type); 56 enum glsl_base_type base_type = glsl_get_base_type(type); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/util/ |
| compat.hpp | 34 >::type type; typedef in struct:clover::invoke_result 38 >::type type;
|
| /xsrc/external/mit/xorg-server/dist/hw/xwin/glx/ |
| wgl_ext_api.c | 42 #define RESOLVE_DECL(type) \ 43 static type type##proc = NULL; 45 #define PRERESOLVE(type, symbol) \ 46 type##proc = (type)wglGetProcAddress(symbol); 48 #define RESOLVE_RET(type, symbol, retval) \ 49 if (type##proc == NULL) { \ 57 #define RESOLVED_PROC(type) type##pro [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| lp_test_main.c | 48 struct lp_type type) 51 type.sign ? (type.floating || type.fixed ? "" : "s") : "u", 52 type.floating ? "f" : (type.fixed ? "h" : "i"), 53 type.width, 54 type.norm ? "n" : "", 55 type.length); 60 read_elem(struct lp_type type, const void *src, unsigned index [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| lp_test_main.c | 48 struct lp_type type) 51 type.sign ? (type.floating || type.fixed ? "" : "s") : "u", 52 type.floating ? "f" : (type.fixed ? "h" : "i"), 53 type.width, 54 type.norm ? "n" : "", 55 type.length); 60 read_elem(struct lp_type type, const void *src, unsigned index [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| u_dynarray.h | 154 #define util_dynarray_append(buf, type, v) do {type __v = (v); memcpy(util_dynarray_grow((buf), sizeof(type)), &__v, sizeof(type));} while(0) 155 #define util_dynarray_top_ptr(buf, type) (type*)((char*)(buf)->data + (buf)->size - sizeof(type)) 156 #define util_dynarray_top(buf, type) *util_dynarray_top_ptr(buf, type) 157 #define util_dynarray_pop_ptr(buf, type) (type*)((char*)(buf)->data + ((buf)->size -= sizeof(type)) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/ |
| lower_int64_test.cpp | 38 const glsl_type *type, 82 create_variable(void *mem_ctx, const glsl_type *type) 84 ir_variable *var = new(mem_ctx) ir_variable(type, 92 create_expression(void *mem_ctx, const glsl_type *type) 95 create_variable(mem_ctx, type)); 99 check_expanded_source(const glsl_type *type, 103 type->base_type == GLSL_TYPE_UINT64 106 for (int i = 0; i < type->vector_elements; i++) { 107 EXPECT_EQ(expanded_type, expanded_src[i]->type); 119 for (int i = type->vector_elements; i < 4; i++) 195 const glsl_type *const type = glsl_type::uint64_t_type; local 206 const glsl_type *const type = glsl_type::u64vec2_type; local 217 const glsl_type *const type = glsl_type::u64vec3_type; local 235 const glsl_type *const type = glsl_type::u64vec4_type; local 246 const glsl_type *const type = glsl_type::int64_t_type; local 257 const glsl_type *const type = glsl_type::i64vec2_type; local 268 const glsl_type *const type = glsl_type::i64vec3_type; local 279 const glsl_type *const type = glsl_type::i64vec4_type; local 290 const glsl_type *const type = glsl_type::uint64_t_type; local 301 const glsl_type *const type = glsl_type::u64vec2_type; local 312 const glsl_type *const type = glsl_type::u64vec3_type; local 323 const glsl_type *const type = glsl_type::u64vec4_type; local 334 const glsl_type *const type = glsl_type::int64_t_type; local 345 const glsl_type *const type = glsl_type::i64vec2_type; local 356 const glsl_type *const type = glsl_type::i64vec3_type; local 367 const glsl_type *const type = glsl_type::i64vec4_type; local 409 const glsl_type *const type = glsl_type::uint64_t_type; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/ |
| lower_int64_test.cpp | 38 const glsl_type *type, 78 create_variable(void *mem_ctx, const glsl_type *type) 80 ir_variable *var = new(mem_ctx) ir_variable(type, 88 create_expression(void *mem_ctx, const glsl_type *type) 91 create_variable(mem_ctx, type)); 95 check_expanded_source(const glsl_type *type, 99 type->base_type == GLSL_TYPE_UINT64 102 for (int i = 0; i < type->vector_elements; i++) { 103 EXPECT_EQ(expanded_type, expanded_src[i]->type); 115 for (int i = type->vector_elements; i < 4; i++) 191 const glsl_type *const type = glsl_type::uint64_t_type; local 202 const glsl_type *const type = glsl_type::u64vec2_type; local 213 const glsl_type *const type = glsl_type::u64vec3_type; local 231 const glsl_type *const type = glsl_type::u64vec4_type; local 242 const glsl_type *const type = glsl_type::int64_t_type; local 253 const glsl_type *const type = glsl_type::i64vec2_type; local 264 const glsl_type *const type = glsl_type::i64vec3_type; local 275 const glsl_type *const type = glsl_type::i64vec4_type; local 286 const glsl_type *const type = glsl_type::uint64_t_type; local 297 const glsl_type *const type = glsl_type::u64vec2_type; local 308 const glsl_type *const type = glsl_type::u64vec3_type; local 319 const glsl_type *const type = glsl_type::u64vec4_type; local 330 const glsl_type *const type = glsl_type::int64_t_type; local 341 const glsl_type *const type = glsl_type::i64vec2_type; local 352 const glsl_type *const type = glsl_type::i64vec3_type; local 363 const glsl_type *const type = glsl_type::i64vec4_type; local 405 const glsl_type *const type = glsl_type::uint64_t_type; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/standalone/ |
| glsl.cpp | 38 st_glsl_type_size(const glsl_type *type, bool bindless) 40 return type->count_attribute_slots(false);
|
| glsl.h | 31 int st_glsl_type_size(const struct glsl_type *type, bool bindless);
|