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

1 2 3 4 5

  /xsrc/external/mit/MesaLib/dist/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 186 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 1);
191 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 2);
196 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 3);
201 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 4);
342 array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 1, 4, 0);
347 array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 2, 4, 0);
352 array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 3, 4, 0);
357 array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 4, 4, 0);
467 array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 1, 4, 5);
472 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:
130 case GLSL_TYPE_INT:
263 case GLSL_TYPE_INT:
copy_constant_to_storage_tests.cpp 75 generate_data(mem_ctx, GLSL_TYPE_INT, 1, rows, val);
160 generate_data(mem_ctx, GLSL_TYPE_INT, 1, 1, val);
  /xsrc/external/mit/MesaLib.old/dist/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:
130 case GLSL_TYPE_INT:
263 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);
  /xsrc/external/mit/MesaLib/dist/src/compiler/
builtin_type_macros.h 43 DECL_VEC_TYPE(int, ivec, GLSL_TYPE_INT, GL_INT)
101 DECL_TYPE(isampler1D, GL_INT_SAMPLER_1D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 0, GLSL_TYPE_INT)
102 DECL_TYPE(isampler2D, GL_INT_SAMPLER_2D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 0, GLSL_TYPE_INT)
103 DECL_TYPE(isampler3D, GL_INT_SAMPLER_3D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_3D, 0, 0, GLSL_TYPE_INT)
104 DECL_TYPE(isamplerCube, GL_INT_SAMPLER_CUBE, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 0, 0, GLSL_TYPE_INT)
105 DECL_TYPE(isampler1DArray, GL_INT_SAMPLER_1D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 1, GLSL_TYPE_INT)
106 DECL_TYPE(isampler2DArray, GL_INT_SAMPLER_2D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 1, GLSL_TYPE_INT)
107 DECL_TYPE(isamplerCubeArray, GL_INT_SAMPLER_CUBE_MAP_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 0, 1, GLSL_TYPE_INT)
108 DECL_TYPE(isampler2DRect, GL_INT_SAMPLER_2D_RECT, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_RECT, 0, 0, GLSL_TYPE_INT)
109 DECL_TYPE(isamplerBuffer, GL_INT_SAMPLER_BUFFER, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_BUF, 0, 0, GLSL_TYPE_INT)
    [all...]
glsl_types.h 71 /* Note: GLSL_TYPE_UINT, GLSL_TYPE_INT, and GLSL_TYPE_FLOAT must be 0, 1,
75 GLSL_TYPE_INT,
106 case GLSL_TYPE_INT:
156 type == GLSL_TYPE_INT ||
171 case GLSL_TYPE_INT:
204 case GLSL_TYPE_INT:
226 return GLSL_TYPE_INT;
234 assert(type == GLSL_TYPE_INT ||
299 * GLSL_TYPE_FLOAT, \c GLSL_TYPE_INT,
775 return (base_type == GLSL_TYPE_UINT) || (base_type == GLSL_TYPE_INT);
    [all...]
glsl_types.cpp 64 STATIC_ASSERT((unsigned(GLSL_TYPE_INT) & 3) == unsigned(GLSL_TYPE_INT));
387 case GLSL_TYPE_INT:
436 case GLSL_TYPE_INT:
488 assert(this->base_type == GLSL_TYPE_INT);
737 case GLSL_TYPE_INT:
884 case GLSL_TYPE_INT:
987 case GLSL_TYPE_INT:
1604 case GLSL_TYPE_INT:
1655 case GLSL_TYPE_INT
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/
builtin_type_macros.h 43 DECL_VEC_TYPE(int, ivec, GLSL_TYPE_INT, GL_INT)
101 DECL_TYPE(isampler1D, GL_INT_SAMPLER_1D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 0, GLSL_TYPE_INT)
102 DECL_TYPE(isampler2D, GL_INT_SAMPLER_2D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 0, GLSL_TYPE_INT)
103 DECL_TYPE(isampler3D, GL_INT_SAMPLER_3D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_3D, 0, 0, GLSL_TYPE_INT)
104 DECL_TYPE(isamplerCube, GL_INT_SAMPLER_CUBE, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 0, 0, GLSL_TYPE_INT)
105 DECL_TYPE(isampler1DArray, GL_INT_SAMPLER_1D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 1, GLSL_TYPE_INT)
106 DECL_TYPE(isampler2DArray, GL_INT_SAMPLER_2D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 1, GLSL_TYPE_INT)
107 DECL_TYPE(isamplerCubeArray, GL_INT_SAMPLER_CUBE_MAP_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 0, 1, GLSL_TYPE_INT)
108 DECL_TYPE(isampler2DRect, GL_INT_SAMPLER_2D_RECT, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_RECT, 0, 0, GLSL_TYPE_INT)
109 DECL_TYPE(isamplerBuffer, GL_INT_SAMPLER_BUFFER, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_BUF, 0, 0, GLSL_TYPE_INT)
    [all...]
glsl_types.h 67 /* Note: GLSL_TYPE_UINT, GLSL_TYPE_INT, and GLSL_TYPE_FLOAT must be 0, 1,
71 GLSL_TYPE_INT,
113 type == GLSL_TYPE_INT ||
128 case GLSL_TYPE_INT:
209 * GLSL_TYPE_FLOAT, \c GLSL_TYPE_INT,
589 return (base_type == GLSL_TYPE_UINT) || (base_type == GLSL_TYPE_INT);
672 base_type == GLSL_TYPE_INT ||
  /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
dxil_enums.c 37 case GLSL_TYPE_INT: return DXIL_PROG_SIG_COMP_TYPE_SINT32;
61 case GLSL_TYPE_INT: return DXIL_COMP_TYPE_I32;
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
st_glsl_types.cpp 42 case GLSL_TYPE_INT:
119 case GLSL_TYPE_INT:
  /xsrc/external/mit/MesaLib/src/compiler/glsl/
ir_expression_operation_constant.h 8 case GLSL_TYPE_INT:
41 case GLSL_TYPE_INT:
65 case GLSL_TYPE_INT:
86 case GLSL_TYPE_INT:
224 case GLSL_TYPE_INT:
275 case GLSL_TYPE_INT:
311 case GLSL_TYPE_INT:
395 case GLSL_TYPE_INT:
407 case GLSL_TYPE_INT:
455 case GLSL_TYPE_INT
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
ir_validate.cpp 262 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT ||
288 assert(ir->type->base_type == GLSL_TYPE_INT);
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);
319 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT);
324 assert(ir->type->base_type == GLSL_TYPE_INT);
327 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT);
332 assert(ir->type->base_type == GLSL_TYPE_INT);
361 assert(ir->type->base_type == GLSL_TYPE_INT);
    [all...]
ir.cpp 275 this->type = glsl_type::get_instance(GLSL_TYPE_INT,
394 this->type = glsl_type::get_instance(GLSL_TYPE_INT,
686 this->type = glsl_type::get_instance(GLSL_TYPE_INT, vector_elements, 1);
742 case GLSL_TYPE_INT: this->value.i[0] = c->value.i[i]; break;
802 case GLSL_TYPE_INT:
873 case GLSL_TYPE_INT:
942 case GLSL_TYPE_INT: return this->value.i[i] != 0;
964 case GLSL_TYPE_INT: return (float) this->value.i[i];
986 case GLSL_TYPE_INT: return (double) this->value.i[i];
1008 case GLSL_TYPE_INT: return this->value.i[i]
    [all...]
  /xsrc/external/mit/MesaLib.old/src/compiler/glsl/
ir_expression_operation_constant.h 8 case GLSL_TYPE_INT:
41 case GLSL_TYPE_INT:
65 case GLSL_TYPE_INT:
86 case GLSL_TYPE_INT:
224 case GLSL_TYPE_INT:
263 case GLSL_TYPE_INT:
299 case GLSL_TYPE_INT:
359 case GLSL_TYPE_INT:
407 case GLSL_TYPE_INT:
611 case GLSL_TYPE_INT
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
ir.cpp 278 this->type = glsl_type::get_instance(GLSL_TYPE_INT,
308 if (op0->type->base_type == GLSL_TYPE_INT) {
313 this->type = glsl_type::get_instance(GLSL_TYPE_INT,
435 this->type = glsl_type::get_instance(GLSL_TYPE_INT,
570 case GLSL_TYPE_INT:
814 this->type = glsl_type::get_instance(GLSL_TYPE_INT, vector_elements, 1);
889 case GLSL_TYPE_INT: this->value.i[0] = c->value.i[i]; break;
964 case GLSL_TYPE_INT:
1045 case GLSL_TYPE_INT:
1119 case GLSL_TYPE_INT: return this->value.i[i] != 0
    [all...]
lower_vector.cpp 173 case GLSL_TYPE_INT: d.i[assigned] = c->value.i[0]; break;
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
uniform_query.cpp 348 assert(returnType == GLSL_TYPE_FLOAT || returnType == GLSL_TYPE_INT ||
366 ((returnType == GLSL_TYPE_INT || returnType == GLSL_TYPE_UINT) &&
387 case GLSL_TYPE_INT:
426 case GLSL_TYPE_INT:
465 case GLSL_TYPE_INT:
537 case GLSL_TYPE_INT:
570 case GLSL_TYPE_INT:
614 case GLSL_TYPE_INT:
686 case GLSL_TYPE_INT:
866 case GLSL_TYPE_INT
    [all...]
uniforms.c 229 _mesa_uniform(location, 1, &v0, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 1);
239 _mesa_uniform(location, 1, v, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 2);
250 _mesa_uniform(location, 1, v, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 3);
262 _mesa_uniform(location, 1, v, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 4);
297 _mesa_uniform(location, count, value, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 1);
304 _mesa_uniform(location, count, value, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 2);
311 _mesa_uniform(location, count, value, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 3);
318 _mesa_uniform(location, count, value, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 4);
397 _mesa_uniform(location, 1, &v0, ctx, shProg, GLSL_TYPE_INT, 1);
409 _mesa_uniform(location, 1, v, ctx, shProg, GLSL_TYPE_INT, 2)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
uniform_query.cpp 381 assert(returnType == GLSL_TYPE_FLOAT || returnType == GLSL_TYPE_INT ||
399 ((returnType == GLSL_TYPE_INT || returnType == GLSL_TYPE_UINT) &&
429 case GLSL_TYPE_INT:
473 case GLSL_TYPE_INT:
512 case GLSL_TYPE_INT:
593 case GLSL_TYPE_INT:
626 case GLSL_TYPE_INT:
676 case GLSL_TYPE_INT:
754 case GLSL_TYPE_INT:
934 case GLSL_TYPE_INT
    [all...]
uniforms.c 227 _mesa_uniform(location, 1, &v0, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 1);
237 _mesa_uniform(location, 1, v, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 2);
248 _mesa_uniform(location, 1, v, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 3);
260 _mesa_uniform(location, 1, v, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 4);
295 _mesa_uniform(location, count, value, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 1);
302 _mesa_uniform(location, count, value, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 2);
309 _mesa_uniform(location, count, value, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 3);
316 _mesa_uniform(location, count, value, ctx, ctx->_Shader->ActiveProgram, GLSL_TYPE_INT, 4);
395 _mesa_uniform(location, 1, &v0, ctx, shProg, GLSL_TYPE_INT, 1);
407 _mesa_uniform(location, 1, v, ctx, shProg, GLSL_TYPE_INT, 2)
    [all...]

Completed in 24 milliseconds

1 2 3 4 5