Searched refs:vector_elements (Results 1 - 25 of 96) sorted by relevance

1234

/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_glsl_types.cpp58 if (type->vector_elements <= 2)
66 if (type->vector_elements <= 2)
74 if (type->vector_elements <= 2)
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir.cpp97 rhs_swiz.num_components = swiz->val->type->vector_elements;
138 const unsigned mask = (1U << v->type->vector_elements) - 1;
166 assert(lhs_components == this->rhs->type->vector_elements);
185 this->write_mask = (1U << rhs->type->vector_elements) - 1;
276 op0->type->vector_elements, 1);
288 op0->type->vector_elements, 1);
296 op0->type->vector_elements, 1);
305 op0->type->vector_elements, 1);
315 op0->type->vector_elements, 1);
325 op0->type->vector_elements,
643 ir_constant(float f,unsigned vector_elements) argument
656 ir_constant(double d,unsigned vector_elements) argument
669 ir_constant(unsigned int u,unsigned vector_elements) argument
682 ir_constant(int integer,unsigned vector_elements) argument
695 ir_constant(uint64_t u64,unsigned vector_elements) argument
708 ir_constant(int64_t int64,unsigned vector_elements) argument
721 ir_constant(bool b,unsigned vector_elements) argument
[all...]
H A Dlower_packed_varyings.cpp340 assert(rhs->type->vector_elements <= 2);
341 if (rhs->type->vector_elements == 2) {
344 assert(lhs->type->vector_elements == 4);
356 assert(rhs->type->vector_elements <= 2);
357 if (rhs->type->vector_elements == 2) {
360 assert(lhs->type->vector_elements == 4);
372 assert(rhs->type->vector_elements <= 2);
373 if (rhs->type->vector_elements == 2) {
376 assert(lhs->type->vector_elements == 4);
428 assert(lhs->type->vector_elements <
[all...]
H A Dlower_vector.cpp70 for (unsigned i = 0; i < ir->type->vector_elements; i++) {
136 assert(expr->type->vector_elements == expr->num_operands);
165 for (unsigned i = 0; i < expr->type->vector_elements; i++) {
201 for (unsigned i = 0; i < expr->type->vector_elements; i++) {
213 assert(assigned == expr->type->vector_elements);
H A Dlower_vec_index_to_swizzle.cpp89 (int) expr->operands[0]->type->vector_elements - 1);
H A Dlink_varyings.h155 return this->vector_elements * this->matrix_columns * this->size *
234 unsigned vector_elements; member in class:tfeedback_decl
H A Dlower_instructions.cpp235 ir->operands[1]->type->vector_elements,
246 ir->operands[0]->type->vector_elements,
255 ir->type->vector_elements,
419 const unsigned vec_elem = ir->type->vector_elements;
542 const unsigned vec_elem = ir->type->vector_elements;
668 const unsigned vec_elem = ir->type->vector_elements;
741 const unsigned vec_elem = ir->type->vector_elements;
884 ir_constant *one = new(ir) ir_constant(1.0, op2->type->vector_elements);
886 switch (op2->type->vector_elements) {
891 assert(op0->type->vector_elements
[all...]
H A Dglsl_to_nir.cpp299 const unsigned rows = ir->type->vector_elements;
655 func->params[np].num_components = param->type->vector_elements;
818 unsigned pow2_components = util_next_power_of_two(type->vector_elements);
1120 assert(swizzle && swizzle->type->vector_elements == 1);
1148 ir->return_deref->type->vector_elements, 32, NULL);
1219 unsigned num_components = ir->return_deref->type->vector_elements;
1322 instr->num_components = val->type->vector_elements;
1338 instr->num_components = type->vector_elements;
1344 type->vector_elements, bit_size, NULL);
1404 ir->return_deref->type->vector_elements, 3
[all...]
H A Dhir_field_selection.cpp62 op->type->vector_elements);
H A Dast_array_index.cpp185 if (array->type->row_type()->vector_elements <= idx) {
187 bound = array->type->row_type()->vector_elements;
190 if (array->type->vector_elements <= idx) {
192 bound = array->type->vector_elements;
H A Dlower_buffer_access.cpp86 writemask_for_size(field_deref->type->vector_elements));
109 writemask_for_size(element_deref->type->vector_elements));
130 writemask_for_size(col_deref->type->vector_elements));
141 is_write ? write_mask : (1 << deref->type->vector_elements) - 1;
155 for (unsigned i = 0; i < deref->type->vector_elements; i++) {
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir.cpp98 rhs_swiz.num_components = swiz->val->type->vector_elements;
139 const unsigned mask = (1U << v->type->vector_elements) - 1;
167 assert(lhs_components == this->rhs->type->vector_elements);
186 this->write_mask = (1U << rhs->type->vector_elements) - 1;
279 op0->type->vector_elements, 1);
292 op0->type->vector_elements, 1);
299 op0->type->vector_elements, 1);
304 op0->type->vector_elements, 1);
310 op0->type->vector_elements, 1);
314 op0->type->vector_elements,
725 ir_constant(float16_t f16,unsigned vector_elements) argument
739 ir_constant(float f,unsigned vector_elements) argument
753 ir_constant(double d,unsigned vector_elements) argument
767 ir_constant(int16_t i16,unsigned vector_elements) argument
781 ir_constant(uint16_t u16,unsigned vector_elements) argument
795 ir_constant(unsigned int u,unsigned vector_elements) argument
809 ir_constant(int integer,unsigned vector_elements) argument
823 ir_constant(uint64_t u64,unsigned vector_elements) argument
837 ir_constant(int64_t int64,unsigned vector_elements) argument
851 ir_constant(bool b,unsigned vector_elements) argument
[all...]
H A Dlower_vector.cpp70 for (unsigned i = 0; i < ir->type->vector_elements; i++) {
136 assert(expr->type->vector_elements == expr->num_operands);
165 for (unsigned i = 0; i < expr->type->vector_elements; i++) {
201 for (unsigned i = 0; i < expr->type->vector_elements; i++) {
213 assert(assigned == expr->type->vector_elements);
H A Dlower_vec_index_to_swizzle.cpp89 (int) expr->operands[0]->type->vector_elements - 1);
H A Dlink_varyings.h167 return this->vector_elements * this->matrix_columns * this->size *
246 unsigned vector_elements; member in class:tfeedback_decl
H A Dlower_packed_varyings.cpp343 assert(rhs->type->vector_elements <= 2);
344 if (rhs->type->vector_elements == 2) {
347 assert(lhs->type->vector_elements == 4);
359 assert(rhs->type->vector_elements <= 2);
360 if (rhs->type->vector_elements == 2) {
363 assert(lhs->type->vector_elements == 4);
375 assert(rhs->type->vector_elements <= 2);
376 if (rhs->type->vector_elements == 2) {
379 assert(lhs->type->vector_elements == 4);
431 assert(lhs->type->vector_elements <
[all...]
H A Dlower_instructions.cpp181 unsigned vector_elements=1);
242 ir->operands[1]->type->vector_elements,
253 ir->operands[0]->type->vector_elements,
262 ir->type->vector_elements,
426 const unsigned vec_elem = ir->type->vector_elements;
549 const unsigned vec_elem = ir->type->vector_elements;
675 const unsigned vec_elem = ir->type->vector_elements;
748 const unsigned vec_elem = ir->type->vector_elements;
892 ir_constant *one = new(ir) ir_constant(1.0, op2->type->vector_elements);
894 switch (op2->type->vector_elements) {
1527 _imm_fp(void * mem_ctx,const glsl_type * type,double f,unsigned vector_elements) argument
[all...]
H A Dlower_vector_derefs.cpp104 for (unsigned i = 0; i < new_lhs->type->vector_elements; i++) {
136 ir->write_mask = (1 << new_lhs->type->vector_elements) - 1;
142 if (index >= new_lhs->type->vector_elements) {
H A Dlower_vector_insert.cpp76 if (index >= expr->operands[0]->type->vector_elements) {
133 for (unsigned i = 0; i < expr->type->vector_elements; i++) {
H A Dast_array_index.cpp185 if (array->type->row_type()->vector_elements <= idx) {
187 bound = array->type->row_type()->vector_elements;
190 if (array->type->vector_elements <= idx) {
192 bound = array->type->vector_elements;
H A Dhir_field_selection.cpp62 op->type->vector_elements);
H A Dlower_buffer_access.cpp86 writemask_for_size(field_deref->type->vector_elements));
109 writemask_for_size(element_deref->type->vector_elements));
130 writemask_for_size(col_deref->type->vector_elements));
141 is_write ? write_mask : (1 << deref->type->vector_elements) - 1;
155 for (unsigned i = 0; i < deref->type->vector_elements; i++) {
/xsrc/external/mit/MesaLib/dist/src/compiler/
H A Dglsl_types.cpp48 glsl_base_type base_type, unsigned vector_elements,
56 vector_elements(vector_elements), matrix_columns(matrix_columns),
80 assert((vector_elements == 0) == (matrix_columns == 0));
103 matrix_columns = vector_elements = 1;
113 vector_elements(0), matrix_columns(0),
146 vector_elements(0), matrix_columns(0),
171 vector_elements(0), matrix_columns(0),
202 vector_elements(1), matrix_columns(1),
442 return get_instance(this->base_type, this->vector_elements,
47 glsl_type(GLenum gl_type,glsl_base_type base_type,unsigned vector_elements,unsigned matrix_columns,const char * name,unsigned explicit_stride,bool row_major,unsigned explicit_alignment) argument
2922 unsigned vector_elements:3; member in struct:packed_type::__anon827c2e3d0108
3122 uint32_t vector_elements = encoded.basic.vector_elements; local in function:decode_type_from_blob
[all...]
H A Dglsl_types.h330 uint8_t vector_elements; /**< 1, 2, 3, or 4 vector elements. */ member in struct:glsl_type
513 return vector_elements * matrix_columns;
719 return (vector_elements == 1)
729 return (vector_elements > 1)
899 return is_64bit() && vector_elements > 2;
1148 return get_instance(base_type, vector_elements, 1,
1156 return get_instance(base_type, vector_elements, 1,
1282 glsl_base_type base_type, unsigned vector_elements,
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
H A Dglsl_types.h240 uint8_t vector_elements; /**< 1, 2, 3, or 4 vector elements. */ member in struct:glsl_type
399 return vector_elements * matrix_columns;
549 return (vector_elements == 1)
559 return (vector_elements > 1)
647 return is_64bit() && vector_elements > 2;
884 return get_instance(base_type, vector_elements, 1, explicit_stride);
886 return get_instance(base_type, vector_elements, 1);
1000 glsl_base_type base_type, unsigned vector_elements,

Completed in 27 milliseconds

1234