HomeSort by: relevance | last modified time | path
    Searched refs:base_type (Results 1 - 25 of 140) sorted by relevancy

1 2 3 4 5 6

  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
uniform_initializer_utils.h 37 generate_data(void *mem_ctx, enum glsl_base_type base_type,
42 generate_array_data(void *mem_ctx, enum glsl_base_type base_type,
uniform_initializer_utils.cpp 83 switch (type->base_type) {
128 switch (type->base_type) {
170 generate_data(void *mem_ctx, enum glsl_base_type base_type,
177 glsl_type::get_instance(base_type, rows, columns);
184 generate_array_data(void *mem_ctx, enum glsl_base_type base_type,
191 glsl_type::get_instance(base_type, rows, columns);
261 switch (val->type->base_type) {
copy_constant_to_storage_tests.cpp 34 const enum glsl_base_type base_type,
84 val->type->base_type,
104 val->type->base_type,
124 val->type->base_type,
144 val->type->base_type,
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
uniform_initializer_utils.h 37 generate_data(void *mem_ctx, enum glsl_base_type base_type,
42 generate_array_data(void *mem_ctx, enum glsl_base_type base_type,
uniform_initializer_utils.cpp 83 switch (type->base_type) {
128 switch (type->base_type) {
170 generate_data(void *mem_ctx, enum glsl_base_type base_type,
177 glsl_type::get_instance(base_type, rows, columns);
184 generate_array_data(void *mem_ctx, enum glsl_base_type base_type,
191 glsl_type::get_instance(base_type, rows, columns);
261 switch (val->type->base_type) {
copy_constant_to_storage_tests.cpp 34 const enum glsl_base_type base_type,
80 val->type->base_type,
100 val->type->base_type,
120 val->type->base_type,
140 val->type->base_type,
  /xsrc/external/mit/MesaLib/dist/src/compiler/
glsl_types.h 165 glsl_base_type_get_bit_size(const enum glsl_base_type base_type)
167 switch (base_type) {
295 glsl_base_type base_type:8; member in struct:glsl_type
448 static const glsl_type *get_instance(unsigned base_type, unsigned rows,
720 && (base_type >= GLSL_TYPE_UINT)
721 && (base_type <= GLSL_TYPE_IMAGE);
731 && (base_type >= GLSL_TYPE_UINT)
732 && (base_type <= GLSL_TYPE_BOOL);
741 return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT ||
742 base_type == GLSL_TYPE_DOUBLE |
    [all...]
glsl_types.cpp 48 glsl_base_type base_type, unsigned vector_elements,
53 base_type(base_type), sampled_type(GLSL_TYPE_VOID),
67 ASSERT_BITFIELD_SIZE(glsl_type, base_type, GLSL_TYPE_ERROR);
85 glsl_type::glsl_type(GLenum gl_type, glsl_base_type base_type,
89 base_type(base_type), sampled_type(type),
110 base_type(GLSL_TYPE_STRUCT), sampled_type(GLSL_TYPE_VOID),
142 base_type(GLSL_TYPE_INTERFACE), sampled_type(GLSL_TYPE_VOID),
168 base_type(GLSL_TYPE_FUNCTION), sampled_type(GLSL_TYPE_VOID)
1732 const glsl_type *base_type = st->fields.array; local
2920 unsigned base_type:5; member in struct:packed_type::__anon754
2928 unsigned base_type:5; member in struct:packed_type::__anon755
2936 unsigned base_type:5; member in struct:packed_type::__anon756
2941 unsigned base_type:5; member in struct:packed_type::__anon757
3099 glsl_base_type base_type = (glsl_base_type)encoded.basic.base_type; local
    [all...]
nir_types.cpp 128 return type->base_type;
546 glsl_scalar_type(enum glsl_base_type base_type)
548 return glsl_type::get_instance(base_type, 1, 1);
552 glsl_vector_type(enum glsl_base_type base_type, unsigned components)
554 const glsl_type *t = glsl_type::get_instance(base_type, components, 1);
560 glsl_matrix_type(enum glsl_base_type base_type, unsigned rows, unsigned columns)
562 const glsl_type *t = glsl_type::get_instance(base_type, rows, columns);
572 const glsl_type *t = glsl_type::get_instance(mat->base_type,
595 return glsl_vector_type(t->base_type, components);
622 enum glsl_base_type base_type)
    [all...]
nir_types.h 186 const struct glsl_type *glsl_scalar_type(enum glsl_base_type base_type);
187 const struct glsl_type *glsl_vector_type(enum glsl_base_type base_type,
191 const struct glsl_type *glsl_matrix_type(enum glsl_base_type base_type,
211 enum glsl_base_type base_type);
216 enum glsl_base_type base_type);
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/
glsl_types.h 122 glsl_base_type_get_bit_size(const enum glsl_base_type base_type)
124 switch (base_type) {
205 glsl_base_type base_type:8; member in struct:glsl_type
336 static const glsl_type *get_instance(unsigned base_type, unsigned rows,
550 && (base_type >= GLSL_TYPE_UINT)
551 && (base_type <= GLSL_TYPE_IMAGE);
561 && (base_type >= GLSL_TYPE_UINT)
562 && (base_type <= GLSL_TYPE_BOOL);
571 return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT ||
572 base_type == GLSL_TYPE_DOUBLE |
810 const glsl_type *base_type = fields.array; local
    [all...]
nir_types.cpp 122 return type->base_type;
470 glsl_scalar_type(enum glsl_base_type base_type)
472 return glsl_type::get_instance(base_type, 1, 1);
476 glsl_vector_type(enum glsl_base_type base_type, unsigned components)
478 const glsl_type *t = glsl_type::get_instance(base_type, components, 1);
484 glsl_matrix_type(enum glsl_base_type base_type, unsigned rows, unsigned columns)
486 const glsl_type *t = glsl_type::get_instance(base_type, rows, columns);
496 const glsl_type *t = glsl_type::get_instance(mat->base_type,
532 enum glsl_base_type base_type)
534 return glsl_type::get_sampler_instance(dim, is_shadow, is_array, base_type);
    [all...]
glsl_types.cpp 47 glsl_base_type base_type, unsigned vector_elements,
51 base_type(base_type), sampled_type(GLSL_TYPE_VOID),
64 ASSERT_BITFIELD_SIZE(glsl_type, base_type, GLSL_TYPE_ERROR);
81 glsl_type::glsl_type(GLenum gl_type, glsl_base_type base_type,
85 base_type(base_type), sampled_type(type),
105 base_type(GLSL_TYPE_STRUCT), sampled_type(GLSL_TYPE_VOID),
134 base_type(GLSL_TYPE_INTERFACE), sampled_type(GLSL_TYPE_VOID),
160 base_type(GLSL_TYPE_FUNCTION), sampled_type(GLSL_TYPE_VOID)
1477 const glsl_type *base_type = st->fields.array; local
2509 glsl_base_type base_type = (glsl_base_type) (u >> 24); local
    [all...]
nir_types.h 156 const struct glsl_type *glsl_scalar_type(enum glsl_base_type base_type);
157 const struct glsl_type *glsl_vector_type(enum glsl_base_type base_type,
159 const struct glsl_type *glsl_matrix_type(enum glsl_base_type base_type,
179 enum glsl_base_type base_type);
183 enum glsl_base_type base_type);
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
ir_validate.cpp 262 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT ||
265 ir->operands[0]->type->base_type == GLSL_TYPE_INT64);
288 assert(ir->type->base_type == GLSL_TYPE_INT);
292 assert(ir->type->base_type == GLSL_TYPE_UINT);
295 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT);
307 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT);
312 assert(ir->type->base_type == GLSL_TYPE_INT);
315 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT);
319 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT);
320 assert(ir->type->base_type == GLSL_TYPE_UINT)
    [all...]
link_uniform_initializers.cpp 50 const enum glsl_base_type base_type,
55 switch (base_type) {
223 const enum glsl_base_type base_type = local
224 val->const_elements[0]->type->base_type;
227 unsigned dmul = glsl_base_type_is_64bit(base_type) ? 2 : 1;
233 base_type,
242 val->type->base_type,
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/tests/
negative_equal_tests.cpp 29 nir_alu_type base_type, unsigned bits, int first);
32 nir_alu_type base_type, unsigned bits, unsigned components);
84 #define compare_with_self(base_type, bits) \
85 TEST_F(const_value_negative_equal_test, base_type ## bits ## _self) \
87 count_sequence(c1, base_type, bits, 1); \
90 base_type, bits)); \
107 #define compare_with_negation(base_type, bits) \
108 TEST_F(const_value_negative_equal_test, base_type ## bits ## _trivially_true) \
110 count_sequence(c1, base_type, bits, 1); \
111 negate(c2, c1, base_type, bits, NIR_MAX_VEC_COMPONENTS);
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
ir_validate.cpp 144 } else if (ir->array->type->base_type != ir->type->base_type) {
361 assert(ir->operands[0]->type->base_type ==
371 assert(ir->type->base_type == GLSL_TYPE_FLOAT16);
394 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT);
395 assert(ir->type->base_type == GLSL_TYPE_FLOAT);
398 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT);
399 assert(ir->type->base_type == GLSL_TYPE_INT);
402 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT);
403 assert(ir->type->base_type == GLSL_TYPE_FLOAT)
    [all...]
link_uniform_initializers.cpp 50 const enum glsl_base_type base_type,
55 switch (base_type) {
223 const enum glsl_base_type base_type = local
224 val->const_elements[0]->type->base_type;
227 unsigned dmul = glsl_base_type_is_64bit(base_type) ? 2 : 1;
233 base_type,
242 val->type->base_type,
  /xsrc/external/mit/MesaLib/src/compiler/glsl/
ir_expression_operation_constant.h 4 switch (op[0]->type->base_type) {
25 switch (op[0]->type->base_type) {
37 switch (op[0]->type->base_type) {
64 switch (op[0]->type->base_type) {
85 switch (op[0]->type->base_type) {
106 switch (op[0]->type->base_type) {
121 switch (op[0]->type->base_type) {
136 switch (op[0]->type->base_type) {
151 switch (op[0]->type->base_type) {
163 switch (op[0]->type->base_type) {
    [all...]
  /xsrc/external/mit/MesaLib.old/src/compiler/glsl/
ir_expression_operation_constant.h 4 switch (op[0]->type->base_type) {
25 switch (op[0]->type->base_type) {
37 switch (op[0]->type->base_type) {
64 switch (op[0]->type->base_type) {
85 switch (op[0]->type->base_type) {
106 switch (op[0]->type->base_type) {
121 switch (op[0]->type->base_type) {
136 switch (op[0]->type->base_type) {
151 switch (op[0]->type->base_type) {
163 switch (op[0]->type->base_type) {
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
dxil_enums.c 56 enum glsl_base_type base_type = glsl_get_base_type(type); local
58 base_type = glsl_get_sampler_result_type(type);
59 switch (base_type) {
  /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
ir3_cf.c 144 type_t base_type = ir3_output_conv_type(src, &can_fold); local
148 type_t src_type = ir3_output_conv_src_type(src, base_type);
149 type_t dst_type = ir3_output_conv_dst_type(src, base_type);
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
vtn_cfg.c 33 if (param_type->base_type != vtn_base_type_pointer) {
34 assert(param_type->base_type == vtn_base_type_image ||
35 param_type->base_type == vtn_base_type_sampler);
37 ptr_type->base_type = vtn_base_type_pointer;
48 switch (type->base_type) {
78 switch (type->base_type) {
126 switch (type->base_type) {
156 switch (type->base_type) {
195 if (ret_type->base_type != vtn_base_type_void) {
208 if (arg_type->base_type == vtn_base_type_sampled_image)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
st_glsl_types.cpp 40 switch (type->base_type) {
117 switch (type->base_type) {

Completed in 44 milliseconds

1 2 3 4 5 6