| /xsrc/external/mit/MesaLib/dist/src/compiler/ |
| H A D | nir_types.h | 41 struct glsl_type; 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 *typ [all...] |
| H A D | nir_types.cpp | 32 glsl_get_type_name(const glsl_type *type) 38 glsl_array_size(const struct glsl_type *type) 43 const glsl_type * 44 glsl_get_array_element(const glsl_type* type) 53 const glsl_type * 54 glsl_without_array(const glsl_type *type) 59 const glsl_type * 60 glsl_without_array_or_matrix(const glsl_type *type) 68 const glsl_type * 69 glsl_get_bare_type(const glsl_type *typ [all...] |
| H A D | glsl_types.h | 42 struct glsl_type; 61 glsl_print_type(FILE *f, const struct glsl_type *t); 63 void encode_type_to_blob(struct blob *blob, const struct glsl_type *type); 65 const struct glsl_type *decode_type_from_blob(struct blob_reader *blob); 67 typedef void (*glsl_type_size_align_func)(const struct glsl_type *type, 72 * and 2 so that they will fit in the 2 bits of glsl_type::sampled_type. 293 struct glsl_type { struct 317 glsl_type() : mem_ctx(NULL) function in struct:glsl_type 367 const struct glsl_type *array; /**< Type of array elements. */ 378 static const glsl_type *cons [all...] |
| H A D | glsl_types.cpp | 33 mtx_t glsl_type::hash_mutex = _MTX_INITIALIZER_NP; 34 hash_table *glsl_type::explicit_matrix_types = NULL; 35 hash_table *glsl_type::array_types = NULL; 36 hash_table *glsl_type::struct_types = NULL; 37 hash_table *glsl_type::interface_types = NULL; 38 hash_table *glsl_type::function_types = NULL; 39 hash_table *glsl_type::subroutine_types = NULL; 47 glsl_type::glsl_type(GLenum gl_type, function in class:glsl_type 61 * glsl_type 85 glsl_type::glsl_type(GLenum gl_type, glsl_base_type base_type, function in class:glsl_type 106 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, function in class:glsl_type 138 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, function in class:glsl_type 165 glsl_type::glsl_type(const glsl_type *return_type, function in class:glsl_type 197 glsl_type::glsl_type(const char *subroutine_name) : function in class:glsl_type 579 glsl_type::glsl_type(const glsl_type *array, unsigned length, function in class:glsl_type [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/ |
| H A D | nir_types.h | 41 struct glsl_type; 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_arra [all...] |
| H A D | nir_types.cpp | 32 glsl_get_type_name(const glsl_type *type) 37 const glsl_type * 38 glsl_get_array_element(const glsl_type* type) 47 const glsl_type * 48 glsl_without_array(const glsl_type *type) 53 const glsl_type * 54 glsl_without_array_or_matrix(const glsl_type *type) 62 const glsl_type * 63 glsl_get_bare_type(const glsl_type *type) 68 const glsl_type * [all...] |
| H A D | glsl_types.h | 40 struct glsl_type; 58 void encode_type_to_blob(struct blob *blob, const struct glsl_type *type); 60 const struct glsl_type *decode_type_from_blob(struct blob_reader *blob); 68 * and 2 so that they will fit in the 2 bits of glsl_type::sampled_type. 203 struct glsl_type { struct 227 glsl_type() : mem_ctx(NULL) function in struct:glsl_type 270 const struct glsl_type *array; /**< Type of array elements. */ 281 static const glsl_type *const NAME##_type; 284 static const glsl_type *const struct_##NAME##_type; 292 static const glsl_type *ve [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | 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/ |
| H A D | builtin_functions.cpp | 933 ir_variable *in_var(const glsl_type *type, const char *name); 934 ir_variable *out_var(const glsl_type *type, const char *name); 940 ir_constant *imm(const glsl_type *type, const ir_constant_data &); 946 void do_atan(ir_factory &body, const glsl_type *type, ir_variable *res, operand y_over_x); 959 typedef ir_function_signature *(builtin_builder::*image_prototype_ctr)(const glsl_type *image_type, 983 ir_function_signature *new_sig(const glsl_type *return_type, 993 const glsl_type *return_type, 994 const glsl_type *param_type); 997 const glsl_type *return_type, 998 const glsl_type *param0_typ [all...] |
| H A D | builtin_types.cpp | 27 * The glsl_type class has static members to represent all the built-in types 28 * (such as the glsl_type::_float_type flyweight) as well as convenience pointer 29 * accessors (such as glsl_type::float_type). Those global variables are 43 * Declarations of type flyweights (glsl_type::_foo_type) and 44 * convenience pointers (glsl_type::foo_type). 50 const glsl_type glsl_type::_struct_##NAME##_type = \ 51 glsl_type(NAME##_fields, ARRAY_SIZE(NAME##_fields), #NAME); \ 52 const glsl_type *const glsl_type [all...] |
| H A D | glsl_symbol_table.h | 34 struct glsl_type; 68 bool add_type(const char *name, const glsl_type *t); 70 bool add_interface(const char *name, const glsl_type *i, 85 const glsl_type *get_type(const char *name); 87 const glsl_type *get_interface(const char *name,
|
| H A D | linker.h | 103 link_calculate_matrix_stride(const glsl_type *matrix, bool row_major, 145 * \param var_type The glsl_type reference of the variable 155 void process(ir_variable *var, const glsl_type *var_type, 173 void process(const glsl_type *type, const char *name, 188 virtual void visit_field(const glsl_type *type, const char *name, 189 bool row_major, const glsl_type *record_type, 193 virtual void enter_record(const glsl_type *type, const char *name, 196 virtual void leave_record(const glsl_type *type, const char *name, 211 void recursion(const glsl_type *t, char **name, size_t name_length, 212 bool row_major, const glsl_type *record_typ [all...] |
| H A D | lower_buffer_access.h | 46 const glsl_type *type, ir_rvalue *offset, 51 bool row_major, const glsl_type *matrix_type, 60 const glsl_type **matrix_type,
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | builtin_functions.cpp | 845 ir_variable *in_var(const glsl_type *type, const char *name); 846 ir_variable *out_var(const glsl_type *type, const char *name); 852 ir_constant *imm(const glsl_type *type, const ir_constant_data &); 858 void do_atan(ir_factory &body, const glsl_type *type, ir_variable *res, operand y_over_x); 871 typedef ir_function_signature *(builtin_builder::*image_prototype_ctr)(const glsl_type *image_type, 895 ir_function_signature *new_sig(const glsl_type *return_type, 905 const glsl_type *return_type, 906 const glsl_type *param_type); 909 const glsl_type *return_type, 910 const glsl_type *param0_typ [all...] |
| H A D | builtin_types.cpp | 27 * The glsl_type class has static members to represent all the built-in types 28 * (such as the glsl_type::_float_type flyweight) as well as convenience pointer 29 * accessors (such as glsl_type::float_type). Those global variables are 43 * Declarations of type flyweights (glsl_type::_foo_type) and 44 * convenience pointers (glsl_type::foo_type). 50 const glsl_type glsl_type::_struct_##NAME##_type = \ 51 glsl_type(NAME##_fields, ARRAY_SIZE(NAME##_fields), #NAME); \ 52 const glsl_type *const glsl_type [all...] |
| H A D | glsl_symbol_table.h | 34 struct glsl_type; 68 bool add_type(const char *name, const glsl_type *t); 70 bool add_interface(const char *name, const glsl_type *i, 85 const glsl_type *get_type(const char *name); 87 const glsl_type *get_interface(const char *name,
|
| H A D | linker.h | 102 link_calculate_matrix_stride(const glsl_type *matrix, bool row_major, 144 * \param var_type The glsl_type reference of the variable 154 void process(ir_variable *var, const glsl_type *var_type, 172 void process(const glsl_type *type, const char *name, 187 virtual void visit_field(const glsl_type *type, const char *name, 188 bool row_major, const glsl_type *record_type, 192 virtual void enter_record(const glsl_type *type, const char *name, 195 virtual void leave_record(const glsl_type *type, const char *name, 210 void recursion(const glsl_type *t, char **name, size_t name_length, 211 bool row_major, const glsl_type *record_typ [all...] |
| H A D | lower_buffer_access.h | 46 const glsl_type *type, ir_rvalue *offset, 51 bool row_major, const glsl_type *matrix_type, 60 const glsl_type **matrix_type,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/standalone/ |
| H A D | glsl.h | 31 int st_glsl_type_size(const struct glsl_type *type, bool bindless);
|
| H A D | glsl.cpp | 38 st_glsl_type_size(const glsl_type *type, bool bindless)
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/ |
| H A D | nir_spirv.h | 76 const struct glsl_type *ubo_ptr_type; 77 const struct glsl_type *ssbo_ptr_type; 78 const struct glsl_type *phys_ssbo_ptr_type; 79 const struct glsl_type *push_const_ptr_type; 80 const struct glsl_type *shared_ptr_type; 81 const struct glsl_type *global_ptr_type; 82 const struct glsl_type *temp_ptr_type;
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/ |
| H A D | general_ir_test.cpp | 52 glsl_struct_field(glsl_type::vec(4), "v") 55 const glsl_type *const iface = 56 glsl_type::get_interface_instance(f, 80 glsl_struct_field(glsl_type::vec(4), "v") 83 const glsl_type *const iface = 84 glsl_type::get_interface_instance(f, 90 const glsl_type *const interface_array = 91 glsl_type::get_array_instance(iface, 2);
|
| H A D | lower_int64_test.cpp | 38 const glsl_type *type, 82 create_variable(void *mem_ctx, const glsl_type *type) 92 create_expression(void *mem_ctx, const glsl_type *type) 99 check_expanded_source(const glsl_type *type, 102 const glsl_type *const expanded_type = 104 ? glsl_type::uvec2_type :glsl_type::ivec2_type; 127 const glsl_type *type, 130 const glsl_type *const expanded_type = 132 ? glsl_type [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/ |
| H A D | general_ir_test.cpp | 34 glsl_struct_field(glsl_type::vec(4), "v") 37 const glsl_type *const iface = 38 glsl_type::get_interface_instance(f, 60 glsl_struct_field(glsl_type::vec(4), "v") 63 const glsl_type *const iface = 64 glsl_type::get_interface_instance(f, 70 const glsl_type *const interface_array = 71 glsl_type::get_array_instance(iface, 2);
|
| H A D | lower_int64_test.cpp | 38 const glsl_type *type, 78 create_variable(void *mem_ctx, const glsl_type *type) 88 create_expression(void *mem_ctx, const glsl_type *type) 95 check_expanded_source(const glsl_type *type, 98 const glsl_type *const expanded_type = 100 ? glsl_type::uvec2_type :glsl_type::ivec2_type; 123 const glsl_type *type, 126 const glsl_type *const expanded_type = 128 ? glsl_type [all...] |