/external/chromium_org/third_party/mesa/src/src/glsl/ |
builtin_types.h | 31 glsl_type(GL_SAMPLER_3D, GLSL_SAMPLER_DIM_3D, 0, 0, GLSL_TYPE_FLOAT, 52 glsl_type(GL_FLOAT, GLSL_TYPE_FLOAT, 1, 1, "float"), 53 glsl_type(GL_FLOAT_VEC2, GLSL_TYPE_FLOAT, 2, 1, "vec2"), 54 glsl_type(GL_FLOAT_VEC3, GLSL_TYPE_FLOAT, 3, 1, "vec3"), 55 glsl_type(GL_FLOAT_VEC4, GLSL_TYPE_FLOAT, 4, 1, "vec4"), 56 glsl_type(GL_FLOAT_MAT2, GLSL_TYPE_FLOAT, 2, 2, "mat2"), 57 glsl_type(GL_FLOAT_MAT3, GLSL_TYPE_FLOAT, 3, 3, "mat3"), 58 glsl_type(GL_FLOAT_MAT4, GLSL_TYPE_FLOAT, 4, 4, "mat4"), 59 glsl_type(GL_SAMPLER_2D, GLSL_SAMPLER_DIM_2D, 0, 0, GLSL_TYPE_FLOAT, 61 glsl_type(GL_SAMPLER_CUBE, GLSL_SAMPLER_DIM_CUBE, 0, 0, GLSL_TYPE_FLOAT, [all...] |
ir_constant_expression.cpp | 180 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 186 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 210 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 246 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 258 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 273 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 280 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 287 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 294 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 309 case GLSL_TYPE_FLOAT [all...] |
ir_validate.cpp | 251 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 256 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 260 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 265 assert(ir->type->base_type == GLSL_TYPE_FLOAT); 268 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 273 assert(ir->type->base_type == GLSL_TYPE_FLOAT); 285 assert(ir->type->base_type == GLSL_TYPE_FLOAT); 297 assert(ir->type->base_type == GLSL_TYPE_FLOAT); 300 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 305 assert(ir->type->base_type == GLSL_TYPE_FLOAT); [all...] |
glsl_types.h | 53 GLSL_TYPE_FLOAT, 84 * only \c GLSL_TYPE_FLOAT, \c GLSL_TYPE_INT, 326 return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT); 334 return (base_type >= GLSL_TYPE_UINT) && (base_type <= GLSL_TYPE_FLOAT); 350 return base_type == GLSL_TYPE_FLOAT;
|
glsl_types.cpp | 317 case GLSL_TYPE_FLOAT: 341 case GLSL_TYPE_FLOAT: 412 case GLSL_TYPE_FLOAT: 420 if ((base_type != GLSL_TYPE_FLOAT) || (rows == 1)) 595 case GLSL_TYPE_FLOAT: 702 vec_type = get_instance(GLSL_TYPE_FLOAT, c, 1); 705 vec_type = get_instance(GLSL_TYPE_FLOAT, r, 1); 794 vec_type = get_instance(GLSL_TYPE_FLOAT, 798 vec_type = get_instance(GLSL_TYPE_FLOAT,
|
ir.cpp | 291 this->type = glsl_type::get_instance(GLSL_TYPE_FLOAT, 590 case GLSL_TYPE_FLOAT: this->value.f[0] = c->value.f[i]; break; 644 assert(type->base_type == GLSL_TYPE_FLOAT); 655 case GLSL_TYPE_FLOAT: 711 case GLSL_TYPE_FLOAT: 765 case GLSL_TYPE_FLOAT: return ((int)this->value.f[i]) != 0; 782 case GLSL_TYPE_FLOAT: return this->value.f[i]; 799 case GLSL_TYPE_FLOAT: return (int) this->value.f[i]; 816 case GLSL_TYPE_FLOAT: return (unsigned) this->value.f[i]; 881 case GLSL_TYPE_FLOAT [all...] |
lower_instructions.cpp | 163 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT, 174 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT, 183 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT,
|
link_uniform_initializers.cpp | 64 case GLSL_TYPE_FLOAT:
|
lower_vector.cpp | 170 case GLSL_TYPE_FLOAT: d.f[assigned] = c->value.f[0]; break;
|
/external/mesa3d/src/glsl/ |
builtin_types.h | 31 glsl_type(GL_SAMPLER_3D, GLSL_SAMPLER_DIM_3D, 0, 0, GLSL_TYPE_FLOAT, 52 glsl_type(GL_FLOAT, GLSL_TYPE_FLOAT, 1, 1, "float"), 53 glsl_type(GL_FLOAT_VEC2, GLSL_TYPE_FLOAT, 2, 1, "vec2"), 54 glsl_type(GL_FLOAT_VEC3, GLSL_TYPE_FLOAT, 3, 1, "vec3"), 55 glsl_type(GL_FLOAT_VEC4, GLSL_TYPE_FLOAT, 4, 1, "vec4"), 56 glsl_type(GL_FLOAT_MAT2, GLSL_TYPE_FLOAT, 2, 2, "mat2"), 57 glsl_type(GL_FLOAT_MAT3, GLSL_TYPE_FLOAT, 3, 3, "mat3"), 58 glsl_type(GL_FLOAT_MAT4, GLSL_TYPE_FLOAT, 4, 4, "mat4"), 59 glsl_type(GL_SAMPLER_2D, GLSL_SAMPLER_DIM_2D, 0, 0, GLSL_TYPE_FLOAT, 61 glsl_type(GL_SAMPLER_CUBE, GLSL_SAMPLER_DIM_CUBE, 0, 0, GLSL_TYPE_FLOAT, [all...] |
ir_constant_expression.cpp | 180 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 186 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 210 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 246 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 258 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 273 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 280 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 287 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 294 assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); 309 case GLSL_TYPE_FLOAT [all...] |
ir_validate.cpp | 251 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 256 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 260 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 265 assert(ir->type->base_type == GLSL_TYPE_FLOAT); 268 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 273 assert(ir->type->base_type == GLSL_TYPE_FLOAT); 285 assert(ir->type->base_type == GLSL_TYPE_FLOAT); 297 assert(ir->type->base_type == GLSL_TYPE_FLOAT); 300 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); 305 assert(ir->type->base_type == GLSL_TYPE_FLOAT); [all...] |
glsl_types.h | 53 GLSL_TYPE_FLOAT, 84 * only \c GLSL_TYPE_FLOAT, \c GLSL_TYPE_INT, 326 return (matrix_columns > 1) && (base_type == GLSL_TYPE_FLOAT); 334 return (base_type >= GLSL_TYPE_UINT) && (base_type <= GLSL_TYPE_FLOAT); 350 return base_type == GLSL_TYPE_FLOAT;
|
glsl_types.cpp | 317 case GLSL_TYPE_FLOAT: 341 case GLSL_TYPE_FLOAT: 412 case GLSL_TYPE_FLOAT: 420 if ((base_type != GLSL_TYPE_FLOAT) || (rows == 1)) 595 case GLSL_TYPE_FLOAT: 702 vec_type = get_instance(GLSL_TYPE_FLOAT, c, 1); 705 vec_type = get_instance(GLSL_TYPE_FLOAT, r, 1); 794 vec_type = get_instance(GLSL_TYPE_FLOAT, 798 vec_type = get_instance(GLSL_TYPE_FLOAT,
|
ir.cpp | 291 this->type = glsl_type::get_instance(GLSL_TYPE_FLOAT, 590 case GLSL_TYPE_FLOAT: this->value.f[0] = c->value.f[i]; break; 644 assert(type->base_type == GLSL_TYPE_FLOAT); 655 case GLSL_TYPE_FLOAT: 711 case GLSL_TYPE_FLOAT: 765 case GLSL_TYPE_FLOAT: return ((int)this->value.f[i]) != 0; 782 case GLSL_TYPE_FLOAT: return this->value.f[i]; 799 case GLSL_TYPE_FLOAT: return (int) this->value.f[i]; 816 case GLSL_TYPE_FLOAT: return (unsigned) this->value.f[i]; 881 case GLSL_TYPE_FLOAT [all...] |
lower_instructions.cpp | 163 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT, 174 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT, 183 vec_type = glsl_type::get_instance(GLSL_TYPE_FLOAT,
|
link_uniform_initializers.cpp | 64 case GLSL_TYPE_FLOAT:
|
lower_vector.cpp | 170 case GLSL_TYPE_FLOAT: d.f[assigned] = c->value.f[0]; break;
|
/external/chromium_org/third_party/mesa/src/src/glsl/tests/ |
set_uniform_initializer_tests.cpp | 245 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 1, 2); 250 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 1, 2); 255 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 1, 3); 260 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 1, 4); 265 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 2, 2); 270 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 2, 3); 275 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 2, 4); 280 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 3, 2); 285 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 3, 3); 290 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 3, 4) [all...] |
uniform_initializer_utils.cpp | 89 case GLSL_TYPE_FLOAT: 115 case GLSL_TYPE_FLOAT: 212 case GLSL_TYPE_FLOAT:
|
copy_constant_to_storage_tests.cpp | 108 generate_data(mem_ctx, GLSL_TYPE_FLOAT, columns, rows, val);
|
/external/mesa3d/src/glsl/tests/ |
set_uniform_initializer_tests.cpp | 245 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 1, 2); 250 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 1, 2); 255 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 1, 3); 260 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 1, 4); 265 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 2, 2); 270 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 2, 3); 275 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 2, 4); 280 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 3, 2); 285 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 3, 3); 290 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_FLOAT, 3, 4) [all...] |
uniform_initializer_utils.cpp | 89 case GLSL_TYPE_FLOAT: 115 case GLSL_TYPE_FLOAT: 212 case GLSL_TYPE_FLOAT:
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
uniform_query.cpp | 288 assert(returnType == GLSL_TYPE_FLOAT || returnType == GLSL_TYPE_INT || 325 case GLSL_TYPE_FLOAT: 346 case GLSL_TYPE_FLOAT: 412 case GLSL_TYPE_FLOAT: 598 basicType = GLSL_TYPE_FLOAT; 602 basicType = GLSL_TYPE_FLOAT; 606 basicType = GLSL_TYPE_FLOAT; 610 basicType = GLSL_TYPE_FLOAT; 756 if (basicType == GLSL_TYPE_FLOAT) { 876 log_uniform(values, GLSL_TYPE_FLOAT, components, vectors, count [all...] |
/external/mesa3d/src/mesa/main/ |
uniform_query.cpp | 288 assert(returnType == GLSL_TYPE_FLOAT || returnType == GLSL_TYPE_INT || 325 case GLSL_TYPE_FLOAT: 346 case GLSL_TYPE_FLOAT: 412 case GLSL_TYPE_FLOAT: 598 basicType = GLSL_TYPE_FLOAT; 602 basicType = GLSL_TYPE_FLOAT; 606 basicType = GLSL_TYPE_FLOAT; 610 basicType = GLSL_TYPE_FLOAT; 756 if (basicType == GLSL_TYPE_FLOAT) { 876 log_uniform(values, GLSL_TYPE_FLOAT, components, vectors, count [all...] |