/external/mesa3d/src/compiler/ |
nir_types.h | 40 struct glsl_type; 43 const char *glsl_get_type_name(const struct glsl_type *type); 45 const struct glsl_type *glsl_get_struct_field(const struct glsl_type *type, 48 const struct glsl_type *glsl_get_array_element(const struct glsl_type *type); 49 const struct glsl_type *glsl_without_array(const struct glsl_type *type); 51 const struct glsl_type *glsl_get_column_type(const struct glsl_type *type) [all...] |
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) 45 const glsl_type * 46 glsl_without_array(const glsl_type *type) 51 const glsl_type * 52 glsl_get_struct_field(const glsl_type *type, unsigned index) 57 const glsl_type * 58 glsl_get_function_return_type(const glsl_type *type) 64 glsl_get_function_param(const glsl_type *type, unsigned index [all...] |
glsl_types.cpp | 31 mtx_t glsl_type::mutex = _MTX_INITIALIZER_NP; 32 hash_table *glsl_type::array_types = NULL; 33 hash_table *glsl_type::record_types = NULL; 34 hash_table *glsl_type::interface_types = NULL; 35 hash_table *glsl_type::function_types = NULL; 36 hash_table *glsl_type::subroutine_types = NULL; 37 void *glsl_type::mem_ctx = NULL; 40 glsl_type::init_ralloc_type_ctx(void) 42 if (glsl_type::mem_ctx == NULL) { 43 glsl_type::mem_ctx = ralloc_autofree_context() 48 glsl_type::glsl_type(GLenum gl_type, function in class:glsl_type 79 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 134 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, function in class:glsl_type 163 glsl_type::glsl_type(const glsl_type *return_type, function in class:glsl_type 196 glsl_type::glsl_type(const char *subroutine_name) : function in class:glsl_type 414 glsl_type::glsl_type(const glsl_type *array, unsigned length) : function in class:glsl_type [all...] |
glsl_types.h | 51 * and 2 so that they will fit in the 2 bits of glsl_type::sampled_type. 128 struct glsl_type { struct 147 mtx_lock(&glsl_type::mutex); 150 assert(glsl_type::mem_ctx != NULL); 154 type = ralloc_size(glsl_type::mem_ctx, size); 157 mtx_unlock(&glsl_type::mutex); 166 mtx_lock(&glsl_type::mutex); 168 mtx_unlock(&glsl_type::mutex); 201 const struct glsl_type *array; /**< Type of array elements. */ 212 static const glsl_type *const NAME##_type [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_glsl_types.h | 36 int st_glsl_attrib_type_size(const struct glsl_type *type, bool is_vs_input); 37 int st_glsl_type_size(const struct glsl_type *type);
|
st_glsl_types.cpp | 33 st_glsl_attrib_type_size(const struct glsl_type *type, bool is_vs_input) 98 st_glsl_type_size(const struct glsl_type *type)
|
/external/mesa3d/src/compiler/glsl/ |
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 42 * Declarations of type flyweights (glsl_type::_foo_type) and 43 * convenience pointers (glsl_type::foo_type). 49 const glsl_type glsl_type::_struct_##NAME##_type = \ 50 glsl_type(NAME##_fields, ARRAY_SIZE(NAME##_fields), #NAME); \ 51 const glsl_type *const glsl_type::struct_##NAME##_type = [all...] |
builtin_functions.cpp | 611 ir_variable *in_var(const glsl_type *type, const char *name); 612 ir_variable *out_var(const glsl_type *type, const char *name); 618 ir_constant *imm(const glsl_type *type, const ir_constant_data &); 624 void do_atan(ir_factory &body, const glsl_type *type, ir_variable *res, operand y_over_x); 637 typedef ir_function_signature *(builtin_builder::*image_prototype_ctr)(const glsl_type *image_type, 661 ir_function_signature *new_sig(const glsl_type *return_type, 671 const glsl_type *return_type, 672 const glsl_type *param_type); 675 const glsl_type *return_type, 676 const glsl_type *param0_type [all...] |
glsl_symbol_table.h | 37 struct glsl_type; 71 bool add_type(const char *name, const glsl_type *t); 73 bool add_interface(const char *name, const glsl_type *i, 88 const glsl_type *get_type(const char *name); 90 const glsl_type *get_interface(const char *name,
|
lower_packing_builtins.cpp | 210 assert(uvec2_rval->type == glsl_type::uvec2_type); 213 ir_variable *u = factory.make_temp(glsl_type::uvec2_type, 239 assert(uvec4_rval->type == glsl_type::uvec4_type); 241 ir_variable *u = factory.make_temp(glsl_type::uvec4_type, 276 assert(uint_rval->type == glsl_type::uint_type); 279 ir_variable *u = factory.make_temp(glsl_type::uint_type, 284 ir_variable *u2 = factory.make_temp(glsl_type::uvec2_type, 305 assert(uint_rval->type == glsl_type::uint_type); 313 ir_variable *i = factory.make_temp(glsl_type::int_type, 318 ir_variable *i2 = factory.make_temp(glsl_type::ivec2_type [all...] |
linker.h | 144 void process(const glsl_type *type, const char *name); 158 virtual void visit_field(const glsl_type *type, const char *name, 159 bool row_major, const glsl_type *record_type, 173 virtual void enter_record(const glsl_type *type, const char *name, 176 virtual void leave_record(const glsl_type *type, const char *name, 191 void recursion(const glsl_type *t, char **name, size_t name_length, 192 bool row_major, const glsl_type *record_type,
|
glsl_symbol_table.cpp | 32 bool add_interface(const glsl_type *i, enum ir_variable_mode mode) 34 const glsl_type **dest; 62 const glsl_type *get_interface(enum ir_variable_mode mode) 83 symbol_table_entry(const glsl_type *t) : 85 symbol_table_entry(const glsl_type *t, enum ir_variable_mode mode) : 96 const glsl_type *t; 97 const glsl_type *ibu; 98 const glsl_type *iss; 99 const glsl_type *ibi; 100 const glsl_type *ibo [all...] |
builtin_variables.cpp | 307 void add_field(int slot, const glsl_type *type, const char *name); 308 const glsl_type *construct_interface_instance() const; 324 per_vertex_accumulator::add_field(int slot, const glsl_type *type, 350 const glsl_type * 353 return glsl_type::get_interface_instance(this->fields, this->num_fields, 376 const glsl_type *array(const glsl_type *base, unsigned elements) 378 return glsl_type::get_array_instance(base, elements); 381 const glsl_type *type(const char *name) 386 ir_variable *add_input(int slot, const glsl_type *type, const char *name [all...] |
ir_uniform.h | 98 const struct glsl_type *type;
|
/external/mesa3d/src/compiler/glsl/tests/ |
general_ir_test.cpp | 34 glsl_struct_field(glsl_type::vec(4), "v") 37 const glsl_type *const interface = 38 glsl_type::get_interface_instance(f, 60 glsl_struct_field(glsl_type::vec(4), "v") 63 const glsl_type *const interface = 64 glsl_type::get_interface_instance(f, 70 const glsl_type *const interface_array = 71 glsl_type::get_array_instance(interface, 2);
|
varyings_test.cpp | 59 char *interface_field_name(const glsl_type *iface, unsigned field = 0) 72 const glsl_type *simple_interface; 79 glsl_struct_field(glsl_type::vec(4), "v") 83 glsl_type::get_interface_instance(f, 120 new(mem_ctx) ir_variable(glsl_type::vec(4), 141 const glsl_type *const array_8_of_float = 142 glsl_type::get_array_instance(glsl_type::vec(1), 8); 168 const glsl_type *const array_8_of_float = 169 glsl_type::get_array_instance(glsl_type::vec(1), 8) [all...] |
array_refcount_test.cpp | 41 * glsl_type for a vec4[3][4][5]. 46 const glsl_type *array_3_of_array_4_of_array_5_of_vec4; 49 * glsl_type for a int[3]. 54 const glsl_type *array_3_of_int; 102 const glsl_type *const array_5_of_vec4 = 103 glsl_type::get_array_instance(glsl_type::vec4_type, 5); 104 const glsl_type *const array_4_of_array_5_of_vec4 = 105 glsl_type::get_array_instance(array_5_of_vec4, 4); 107 glsl_type::get_array_instance(array_4_of_array_5_of_vec4, 3) [all...] |
invalidate_locations_test.cpp | 63 new(mem_ctx) ir_variable(glsl_type::vec(4), 86 new(mem_ctx) ir_variable(glsl_type::vec(4), 109 new(mem_ctx) ir_variable(glsl_type::vec(4), 133 new(mem_ctx) ir_variable(glsl_type::vec(4), 156 new(mem_ctx) ir_variable(glsl_type::vec(4), 178 new(mem_ctx) ir_variable(glsl_type::vec(4),
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
test_fs_cmod_propagation.cpp | 104 fs_reg dest = v->vgrf(glsl_type::float_type); 105 fs_reg src0 = v->vgrf(glsl_type::float_type); 106 fs_reg src1 = v->vgrf(glsl_type::float_type); 136 fs_reg dest = v->vgrf(glsl_type::float_type); 137 fs_reg src0 = v->vgrf(glsl_type::float_type); 138 fs_reg src1 = v->vgrf(glsl_type::float_type); 169 fs_reg dest = v->vgrf(glsl_type::uint_type); 170 fs_reg src0 = v->vgrf(glsl_type::uint_type); 201 fs_reg dest = v->vgrf(glsl_type::float_type); 202 fs_reg src0 = v->vgrf(glsl_type::float_type) [all...] |
brw_nir.h | 34 int type_size_scalar(const struct glsl_type *type); 35 int type_size_vec4(const struct glsl_type *type); 36 int type_size_dvec4(const struct glsl_type *type); 39 type_size_scalar_bytes(const struct glsl_type *type) 45 type_size_vec4_bytes(const struct glsl_type *type)
|
test_vec4_register_coalesce.cpp | 130 src_reg something = src_reg(v, glsl_type::float_type); 131 dst_reg temp = dst_reg(v, glsl_type::float_type); 149 src_reg something = src_reg(v, glsl_type::float_type); 150 dst_reg temp = dst_reg(v, glsl_type::vec4_type); 175 src_reg some_src_1 = src_reg(v, glsl_type::vec4_type); 176 src_reg some_src_2 = src_reg(v, glsl_type::vec4_type); 183 dst_reg temp = dst_reg(v, glsl_type::float_type); 196 src_reg some_src_1 = src_reg(v, glsl_type::vec4_type); 197 src_reg some_src_2 = src_reg(v, glsl_type::vec4_type); 200 dst_reg to = dst_reg(v, glsl_type::vec4_type) [all...] |
test_fs_saturate_propagation.cpp | 104 fs_reg dst0 = v->vgrf(glsl_type::float_type); 105 fs_reg dst1 = v->vgrf(glsl_type::float_type); 106 fs_reg src0 = v->vgrf(glsl_type::float_type); 107 fs_reg src1 = v->vgrf(glsl_type::float_type); 139 fs_reg dst0 = v->vgrf(glsl_type::float_type); 140 fs_reg dst1 = v->vgrf(glsl_type::float_type); 141 fs_reg dst2 = v->vgrf(glsl_type::float_type); 142 fs_reg src0 = v->vgrf(glsl_type::float_type); 143 fs_reg src1 = v->vgrf(glsl_type::float_type); 177 fs_reg dst0 = v->vgrf(glsl_type::float_type) [all...] |
test_vec4_cmod_propagation.cpp | 146 dst_reg dest = dst_reg(v, glsl_type::float_type); 147 src_reg src0 = src_reg(v, glsl_type::float_type); 148 src_reg src1 = src_reg(v, glsl_type::float_type); 182 dst_reg dest = dst_reg(v, glsl_type::float_type); 183 src_reg src0 = src_reg(v, glsl_type::float_type); 184 src_reg src1 = src_reg(v, glsl_type::float_type); 219 dst_reg dest = dst_reg(v, glsl_type::int_type); 220 src_reg src0 = src_reg(v, glsl_type::float_type); 255 dst_reg dest = dst_reg(v, glsl_type::uint_type); 256 src_reg src0 = src_reg(v, glsl_type::uint_type) [all...] |
brw_vec4_tes.cpp | 125 input_read_header = src_reg(this, glsl_type::uvec4_type); 173 swizzle(src_reg(ATTR, 1, glsl_type::vec4_type), 177 swizzle(src_reg(ATTR, 1, glsl_type::vec4_type), 184 swizzle(src_reg(ATTR, 0, glsl_type::vec4_type), 188 src_reg(ATTR, 1, glsl_type::float_type))); 207 header = src_reg(this, glsl_type::uvec4_type); 216 const glsl_type *src_glsl_type = 217 is_64bit ? glsl_type::dvec4_type : glsl_type::ivec4_type; 233 dst_reg temp(this, glsl_type::ivec4_type) [all...] |
test_vec4_copy_propagation.cpp | 127 dst_reg a = dst_reg(v, glsl_type::vec4_type); 128 dst_reg b = dst_reg(v, glsl_type::vec4_type); 129 dst_reg c = dst_reg(v, glsl_type::vec4_type); 156 dst_reg a = dst_reg(v, glsl_type::vec4_type); 157 dst_reg b = dst_reg(v, glsl_type::vec4_type); 158 dst_reg c = dst_reg(v, glsl_type::vec4_type);
|