/external/mesa3d/src/compiler/ |
builtin_type_macros.h | 39 DECL_TYPE(int, GL_INT, GLSL_TYPE_INT, 1, 1) 40 DECL_TYPE(ivec2, GL_INT_VEC2, GLSL_TYPE_INT, 2, 1) 41 DECL_TYPE(ivec3, GL_INT_VEC3, GLSL_TYPE_INT, 3, 1) 42 DECL_TYPE(ivec4, GL_INT_VEC4, GLSL_TYPE_INT, 4, 1) 94 DECL_TYPE(isampler1D, GL_INT_SAMPLER_1D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 0, GLSL_TYPE_INT) 95 DECL_TYPE(isampler2D, GL_INT_SAMPLER_2D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 0, GLSL_TYPE_INT) 96 DECL_TYPE(isampler3D, GL_INT_SAMPLER_3D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_3D, 0, 0, GLSL_TYPE_INT) 97 DECL_TYPE(isamplerCube, GL_INT_SAMPLER_CUBE, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 0, 0, GLSL_TYPE_INT) 98 DECL_TYPE(isampler1DArray, GL_INT_SAMPLER_1D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 1, GLSL_TYPE_INT) 99 DECL_TYPE(isampler2DArray, GL_INT_SAMPLER_2D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 1, GLSL_TYPE_INT) [all...] |
glsl_types.cpp | 62 STATIC_ASSERT((unsigned(GLSL_TYPE_INT) & 3) == unsigned(GLSL_TYPE_INT)); 349 case GLSL_TYPE_INT: 375 case GLSL_TYPE_INT: 537 case GLSL_TYPE_INT: 650 case GLSL_TYPE_INT: 751 case GLSL_TYPE_INT: [all...] |
nir_types.h | 87 case GLSL_TYPE_INT:
|
glsl_types.h | 50 /* Note: GLSL_TYPE_UINT, GLSL_TYPE_INT, and GLSL_TYPE_FLOAT must be 0, 1, 54 GLSL_TYPE_INT, 137 * GLSL_TYPE_FLOAT, \c GLSL_TYPE_INT, 473 return (base_type == GLSL_TYPE_UINT) || (base_type == GLSL_TYPE_INT);
|
/external/mesa3d/src/compiler/glsl/tests/ |
sampler_types_test.cpp | 63 T(isampler1D, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_INT, NONARRAY, COLOR, 1) 64 T(isampler2D, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_INT, NONARRAY, COLOR, 2) 65 T(isampler3D, GLSL_SAMPLER_DIM_3D, GLSL_TYPE_INT, NONARRAY, COLOR, 3) 66 T(isamplerCube, GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_INT, NONARRAY, COLOR, 3) 67 T(isampler1DArray, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_INT, ARRAY, COLOR, 2) 68 T(isampler2DArray, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_INT, ARRAY, COLOR, 3) 69 T(isamplerCubeArray, GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_INT, ARRAY, COLOR, 4) 70 T(isampler2DRect, GLSL_SAMPLER_DIM_RECT, GLSL_TYPE_INT, NONARRAY, COLOR, 2) 71 T(isamplerBuffer, GLSL_SAMPLER_DIM_BUF, GLSL_TYPE_INT, NONARRAY, COLOR, 1) 72 T(isampler2DMS, GLSL_SAMPLER_DIM_MS, GLSL_TYPE_INT, NONARRAY, COLOR, 2 [all...] |
set_uniform_initializer_tests.cpp | 179 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 1); 184 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 2); 189 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 3); 194 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 4); 335 array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 1, 4, 0); 340 array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 2, 4, 0); 345 array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 3, 4, 0); 350 array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 4, 4, 0); 460 array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 1, 4, 5); 465 array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 2, 4, 5) [all...] |
uniform_initializer_utils.cpp | 85 case GLSL_TYPE_INT: 119 case GLSL_TYPE_INT: 225 case GLSL_TYPE_INT:
|
copy_constant_to_storage_tests.cpp | 71 generate_data(mem_ctx, GLSL_TYPE_INT, 1, rows, val); 156 generate_data(mem_ctx, GLSL_TYPE_INT, 1, 1, val);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_glsl_types.cpp | 40 case GLSL_TYPE_INT:
|
/external/mesa3d/prebuilt-intermediates/glsl/ |
ir_expression_operation_constant.h | 8 case GLSL_TYPE_INT: 35 case GLSL_TYPE_INT: 53 case GLSL_TYPE_INT: 71 case GLSL_TYPE_INT: 206 case GLSL_TYPE_INT: 245 case GLSL_TYPE_INT: 281 case GLSL_TYPE_INT: 341 case GLSL_TYPE_INT: 389 case GLSL_TYPE_INT: 681 case GLSL_TYPE_INT [all...] |
/external/mesa3d/src/compiler/glsl/ |
ir_validate.cpp | 254 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT || 279 assert(ir->type->base_type == GLSL_TYPE_INT); 286 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); 298 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); 303 assert(ir->type->base_type == GLSL_TYPE_INT); 310 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); 315 assert(ir->type->base_type == GLSL_TYPE_INT); 318 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); 323 assert(ir->type->base_type == GLSL_TYPE_INT); 401 assert(ir->type->base_type == GLSL_TYPE_INT); [all...] |
ir.cpp | 264 this->type = glsl_type::get_instance(GLSL_TYPE_INT, 335 this->type = glsl_type::get_instance(GLSL_TYPE_INT, 607 this->type = glsl_type::get_instance(GLSL_TYPE_INT, vector_elements, 1); 637 case GLSL_TYPE_INT: this->value.i[0] = c->value.i[i]; break; 707 case GLSL_TYPE_INT: 769 case GLSL_TYPE_INT: 830 case GLSL_TYPE_INT: return this->value.i[i] != 0; 848 case GLSL_TYPE_INT: return (float) this->value.i[i]; 866 case GLSL_TYPE_INT: return (double) this->value.i[i]; 884 case GLSL_TYPE_INT: return this->value.i[i] [all...] |
lower_instructions.cpp | 234 if (ir->operands[1]->type->base_type == GLSL_TYPE_INT) 245 if (ir->operands[0]->type->base_type == GLSL_TYPE_INT) 256 if (ir->operands[1]->type->base_type == GLSL_TYPE_INT) { 389 const glsl_type *ivec = glsl_type::get_instance(GLSL_TYPE_INT, vec_elem, 1); 490 const glsl_type *ivec = glsl_type::get_instance(GLSL_TYPE_INT, vec_elem, 1); [all...] |
loop_controls.cpp | 129 case GLSL_TYPE_INT:
|
lower_vector.cpp | 173 case GLSL_TYPE_INT: d.i[assigned] = c->value.i[0]; break;
|
glsl_to_nir.cpp | 234 case GLSL_TYPE_INT: [all...] |
ir_constant_expression.cpp | 405 const int index = index_c->type->base_type == GLSL_TYPE_INT ? 688 case GLSL_TYPE_INT: data.u[i] = v->value.u[swiz_idx[i]]; break; 753 case GLSL_TYPE_INT:
|
lower_packed_varyings.cpp | 328 assert(lhs->type->base_type == GLSL_TYPE_INT); 378 assert(rhs->type->base_type == GLSL_TYPE_INT); 626 packed_type = glsl_type::get_instance(GLSL_TYPE_INT, components[slot], 1);
|
opt_minmax.cpp | 120 case GLSL_TYPE_INT: 179 case GLSL_TYPE_INT:
|
ast_function.cpp | 749 case GLSL_TYPE_INT: 765 case GLSL_TYPE_INT: 786 case GLSL_TYPE_INT: 804 case GLSL_TYPE_INT: 817 case GLSL_TYPE_INT: [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_split_var_copies.c | 150 case GLSL_TYPE_INT: 238 case GLSL_TYPE_INT:
|
/external/mesa3d/src/mesa/main/ |
uniform_query.cpp | 334 assert(returnType == GLSL_TYPE_FLOAT || returnType == GLSL_TYPE_INT || 351 || ((returnType == GLSL_TYPE_INT 354 (uni->type->base_type == GLSL_TYPE_INT 376 case GLSL_TYPE_INT: 402 case GLSL_TYPE_INT: 424 case GLSL_TYPE_INT: 496 case GLSL_TYPE_INT: 664 case GLSL_TYPE_INT: 741 match = (basicType == GLSL_TYPE_INT); 744 match = (basicType == GLSL_TYPE_INT && _mesa_is_desktop_gl(ctx)) [all...] |
uniforms.c | 194 _mesa_uniform(ctx, ctx->_Shader->ActiveProgram, location, 1, &v0, GLSL_TYPE_INT, 1); 204 _mesa_uniform(ctx, ctx->_Shader->ActiveProgram, location, 1, v, GLSL_TYPE_INT, 2); 215 _mesa_uniform(ctx, ctx->_Shader->ActiveProgram, location, 1, v, GLSL_TYPE_INT, 3); 227 _mesa_uniform(ctx, ctx->_Shader->ActiveProgram, location, 1, v, GLSL_TYPE_INT, 4); 262 _mesa_uniform(ctx, ctx->_Shader->ActiveProgram, location, count, value, GLSL_TYPE_INT, 1); 269 _mesa_uniform(ctx, ctx->_Shader->ActiveProgram, location, count, value, GLSL_TYPE_INT, 2); 276 _mesa_uniform(ctx, ctx->_Shader->ActiveProgram, location, count, value, GLSL_TYPE_INT, 3); 283 _mesa_uniform(ctx, ctx->_Shader->ActiveProgram, location, count, value, GLSL_TYPE_INT, 4); 345 _mesa_uniform(ctx, shProg, location, 1, &v0, GLSL_TYPE_INT, 1); 357 _mesa_uniform(ctx, shProg, location, 1, v, GLSL_TYPE_INT, 2) [all...] |
/external/mesa3d/src/intel/vulkan/ |
anv_nir_lower_input_attachments.c | 77 case GLSL_TYPE_INT:
|
/external/mesa3d/src/compiler/spirv/ |
vtn_variables.c | 117 case GLSL_TYPE_INT: 349 case GLSL_TYPE_INT: 397 case GLSL_TYPE_INT: 528 case GLSL_TYPE_INT: 740 case GLSL_TYPE_INT: 817 case GLSL_TYPE_INT: [all...] |