/external/mesa3d/src/glsl/ |
builtin_types.h | 47 glsl_type(GL_FLOAT, GLSL_TYPE_FLOAT, 1, 1, "float"), 48 glsl_type(GL_FLOAT_VEC2, GLSL_TYPE_FLOAT, 2, 1, "vec2"), 49 glsl_type(GL_FLOAT_VEC3, GLSL_TYPE_FLOAT, 3, 1, "vec3"), 50 glsl_type(GL_FLOAT_VEC4, GLSL_TYPE_FLOAT, 4, 1, "vec4"), 51 glsl_type(GL_FLOAT_MAT2, GLSL_TYPE_FLOAT, 2, 2, "mat2"), 52 glsl_type(GL_FLOAT_MAT3, GLSL_TYPE_FLOAT, 3, 3, "mat3"), 53 glsl_type(GL_FLOAT_MAT4, GLSL_TYPE_FLOAT, 4, 4, "mat4"), 54 glsl_type(GL_SAMPLER_2D, GLSL_SAMPLER_DIM_2D, 0, 0, GLSL_TYPE_FLOAT, 56 glsl_type(GL_SAMPLER_CUBE, GLSL_SAMPLER_DIM_CUBE, 0, 0, GLSL_TYPE_FLOAT, 177 glsl_type(GL_SAMPLER_1D, GLSL_SAMPLER_DIM_1D, 0, 0, GLSL_TYPE_FLOAT, [all...] |
glsl_types.h | 49 GLSL_TYPE_FLOAT, 76 * only \c GLSL_TYPE_FLOAT, \c GLSL_TYPE_INT, 253 return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT); 261 return (base_type >= GLSL_TYPE_UINT) && (base_type <= GLSL_TYPE_FLOAT); 277 return base_type == GLSL_TYPE_FLOAT;
|
ir_constant_expression.cpp | 129 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 153 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 181 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 188 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 195 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 210 case GLSL_TYPE_FLOAT: 221 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 229 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 244 case GLSL_TYPE_FLOAT: 264 case GLSL_TYPE_FLOAT [all...] |
ir_div_to_mul_rcp.cpp | 85 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT, 96 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT,
|
ir_to_llvm.cpp | 135 case GLSL_TYPE_FLOAT: 475 case GLSL_TYPE_FLOAT: 489 if (type == GLSL_TYPE_FLOAT) 542 case GLSL_TYPE_FLOAT: 556 case GLSL_TYPE_FLOAT: 573 case GLSL_TYPE_FLOAT: 581 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 589 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 605 case GLSL_TYPE_FLOAT: 617 case GLSL_TYPE_FLOAT [all...] |
ir.cpp | 502 case GLSL_TYPE_FLOAT: this->value.f[0] = c->value.f[i]; break; 556 assert(type->base_type == GLSL_TYPE_FLOAT); 567 case GLSL_TYPE_FLOAT: 623 case GLSL_TYPE_FLOAT: 662 case GLSL_TYPE_FLOAT: return ((int)this->value.f[i]) != 0; 679 case GLSL_TYPE_FLOAT: return this->value.f[i]; 696 case GLSL_TYPE_FLOAT: return (int) this->value.f[i]; 713 case GLSL_TYPE_FLOAT: return (unsigned) this->value.f[i]; 817 case GLSL_TYPE_FLOAT: 842 case GLSL_TYPE_FLOAT [all...] |
ir_validate.cpp | 231 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 236 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 241 assert(ir->type->base_type == GLSL_TYPE_FLOAT); 244 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 249 assert(ir->type->base_type == GLSL_TYPE_FLOAT); 261 assert(ir->type->base_type == GLSL_TYPE_FLOAT); 280 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 373 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT);
|
glsl_types.cpp | 223 case GLSL_TYPE_FLOAT: 295 case GLSL_TYPE_FLOAT: 303 if ((base_type != GLSL_TYPE_FLOAT) || (rows == 1)) 478 case GLSL_TYPE_FLOAT:
|
ir_function.cpp | 47 case GLSL_TYPE_FLOAT:
|
lower_instructions.cpp | 149 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT, 160 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT,
|
lower_vector.cpp | 170 case GLSL_TYPE_FLOAT: d.f[assigned] = c->value.f[0]; break;
|
ast_function.cpp | 252 if (b == GLSL_TYPE_FLOAT) 259 case GLSL_TYPE_FLOAT: 278 case GLSL_TYPE_FLOAT: 395 glsl_type::get_instance(GLSL_TYPE_FLOAT, 547 case GLSL_TYPE_FLOAT: [all...] |
ast_to_hir.cpp | 132 to = glsl_type::get_instance(GLSL_TYPE_FLOAT, from->type->vector_elements, 192 * both types must be GLSL_TYPE_FLOAT, or GLSL_TYPE_UINT, or GLSL_TYPE_INT. 254 assert(type_a->base_type == GLSL_TYPE_FLOAT); 255 assert(type_b->base_type == GLSL_TYPE_FLOAT); 770 case GLSL_TYPE_FLOAT: [all...] |
ir_print_visitor.cpp | 337 case GLSL_TYPE_FLOAT: printf("%f", ir->value.f[i]); break;
|
opt_algebraic.cpp | 294 if (is_vec_one(op_const[0]) && ir->type->base_type == GLSL_TYPE_FLOAT) {
|
opt_constant_propagation.cpp | 180 case GLSL_TYPE_FLOAT:
|
ir_clone.cpp | 326 case GLSL_TYPE_FLOAT:
|
ir_reader.cpp | 873 if (base_type->base_type == GLSL_TYPE_FLOAT) { [all...] |