Home
last modified time | relevance | path

Searched refs:uniform_name (Results 1 – 12 of 12) sorted by relevance

/external/deqp/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleGetActiveUniformTests.cpp289 char* uniform_name = NULL; in iterate() local
294 uniform_name = new char[max_active_uniform_length]; in iterate()
330 &uniform_size, &uniform_type, uniform_name); in iterate()
337 if (strcmp(uniform_name, "fs_sampler_2d_multisample") == 0) in iterate()
351 else if (strcmp(uniform_name, "fs_sampler_2d_multisample_array") == 0) in iterate()
372 else if (strcmp(uniform_name, "fs_sampler_2d_multisample_uint") == 0) in iterate()
386 else if (strcmp(uniform_name, "fs_sampler_2d_multisample_array_uint") == 0) in iterate()
407 else if (strcmp(uniform_name, "fs_sampler_2d_multisample_int") == 0) in iterate()
421 else if (strcmp(uniform_name, "fs_sampler_2d_multisample_array_int") == 0) in iterate()
442 else if (strcmp(uniform_name, "vs_sampler_2d_multisample") == 0) in iterate()
[all …]
Des31cShaderAtomicCountersTests.cpp449 …bool CheckUniform(GLuint prog, const GLchar* uniform_name, GLuint uniform_index, GLint uniform_typ… in CheckUniform() argument
455 glGetUniformIndices(prog, 1, &uniform_name, &index); in CheckUniform()
459 << tcu::TestLog::Message << "Uniform: " << uniform_name in CheckUniform()
464 const GLsizei uniform_length = static_cast<GLsizei>(strlen(uniform_name)); in CheckUniform()
475 …<< tcu::TestLog::Message << "Uniform: " << uniform_name << ": Length is " << length << " should be… in CheckUniform()
480 if (strcmp(name, uniform_name)) in CheckUniform()
483 …<< tcu::TestLog::Message << "Uniform: " << uniform_name << ": Bad name returned by glGetActiveUnif… in CheckUniform()
490 …<< tcu::TestLog::Message << "Uniform: " << uniform_name << ": Length is " << length << " should be… in CheckUniform()
496 …m_context.getTestContext().getLog() << tcu::TestLog::Message << "Uniform: " << uniform_name << ": … in CheckUniform()
502 …m_context.getTestContext().getLog() << tcu::TestLog::Message << "Uniform: " << uniform_name << ": … in CheckUniform()
[all …]
/external/mesa3d/src/compiler/glsl/
Dlower_const_arrays_to_uniforms.cpp97 char *uniform_name = ralloc_asprintf(mem_ctx, "constarray_%x_%u", in handle_rvalue() local
102 new(mem_ctx) ir_variable(con->type, uniform_name, ir_var_uniform); in handle_rvalue()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderAtomicCountersTests.cpp544 …bool CheckUniform(GLuint prog, const GLchar* uniform_name, GLuint uniform_index, GLint uniform_typ… in CheckUniform() argument
550 glGetUniformIndices(prog, 1, &uniform_name, &index); in CheckUniform()
554 << tcu::TestLog::Message << "Uniform: " << uniform_name in CheckUniform()
559 const GLsizei uniform_length = static_cast<GLsizei>(strlen(uniform_name)); in CheckUniform()
567 if (strcmp(name, uniform_name)) in CheckUniform()
570 << tcu::TestLog::Message << "Uniform: " << uniform_name in CheckUniform()
577 …<< tcu::TestLog::Message << "Uniform: " << uniform_name << ": Length is " << length << " should be… in CheckUniform()
583 if (strcmp(name, uniform_name)) in CheckUniform()
586 …<< tcu::TestLog::Message << "Uniform: " << uniform_name << ": Bad name returned by glGetActiveUnif… in CheckUniform()
593 …<< tcu::TestLog::Message << "Uniform: " << uniform_name << ": Length is " << length << " should be… in CheckUniform()
[all …]
Dgl4cShadingLanguage420PackTests.hpp286 …glw::GLint getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum shader_stage)…
289 glw::GLint getUniformLocation(const glw::GLchar* uniform_name) const;
294 …void uniform(const glw::GLchar* uniform_name, TYPES type, glw::GLuint n_columns, glw::GLuint n_row…
539 …reToimage(Utils::program& program, Utils::texture& texture, const glw::GLchar* uniform_name) const;
541 …ToSampler(Utils::program& program, Utils::texture& texture, const glw::GLchar* uniform_name) const;
Dgl4cShaderSubroutineTests.cpp467 GLint Utils::program::getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum sha… in getSubroutineUniformLocation() argument
472 location = gl.getSubroutineUniformLocation(m_program_object_id, shader_stage, uniform_name); in getSubroutineUniformLocation()
477 …ontext.getTestContext().getLog() << tcu::TestLog::Message << "Subroutine uniform: " << uniform_name in getSubroutineUniformLocation()
492 GLint Utils::program::getUniformLocation(const glw::GLchar* uniform_name) const in getUniformLocation()
497 location = gl.getUniformLocation(m_program_object_id, uniform_name); in getUniformLocation()
502 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Uniform: " << uniform_name in getUniformLocation()
3248 …FunctionalTest3_4::getSubroutineUniformLocation(GLuint program_id, const glw::GLchar* uniform_name, in getSubroutineUniformLocation() argument
3256 location = gl.getSubroutineUniformLocation(program_id, GL_VERTEX_SHADER, uniform_name); in getSubroutineUniformLocation()
3261 location = gl.getProgramResourceLocation(program_id, GL_VERTEX_SUBROUTINE_UNIFORM, uniform_name); in getSubroutineUniformLocation()
3369 const GLchar* uniform_name = uniform_names[uniform]; in inspectProgramResourceiv() local
[all …]
Dgl4cShaderSubroutineTests.hpp105 …glw::GLint getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum shader_stage)…
107 glw::GLint getUniformLocation(const glw::GLchar* uniform_name) const;
445 glw::GLint getSubroutineUniformLocation(glw::GLuint program_id, const glw::GLchar* uniform_name,
Dgl4cShadingLanguage420PackTests.cpp1939 const glw::GLchar* uniform_name) const in bindTextureToimage()
1948 GLint location = program.getUniformLocation(uniform_name); in bindTextureToimage()
1960 const glw::GLchar* uniform_name) const in bindTextureToSampler()
1970 GLint location = program.getUniformLocation(uniform_name); in bindTextureToSampler()
18256 GLint Utils::program::getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum sha… in getSubroutineUniformLocation() argument
18261 location = gl.getSubroutineUniformLocation(m_program_object_id, shader_stage, uniform_name); in getSubroutineUniformLocation()
18266 …ontext.getTestContext().getLog() << tcu::TestLog::Message << "Subroutine uniform: " << uniform_name in getSubroutineUniformLocation()
18299 GLint Utils::program::getUniformLocation(const glw::GLchar* uniform_name) const in getUniformLocation()
18304 location = gl.getUniformLocation(m_program_object_id, uniform_name); in getUniformLocation()
18309 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Uniform: " << uniform_name in getUniformLocation()
[all …]
Dgl4cGPUShaderFP64Tests.cpp3601 const glw::GLchar* uniform_name = 0; in inspectProgram() local
3627 uniform_name = uniform_name_str.c_str(); in inspectProgram()
3630 gl.getUniformIndices(program_id, 1 /* count */, &uniform_name, &index); in inspectProgram()
4946 const glw::GLchar* uniform_name = 0; in init() local
4957 uniform_name = uniform_name_str.c_str(); in init()
4960 gl.getUniformIndices(m_program_object_id, 1 /* count */, &uniform_name, &index); in init()
15215 const glw::GLchar* uniform_name = getUniformName(argument); in prepareVertexShaderCode() local
15223 Utils::replaceToken(uniform_name_token, search_position, uniform_name, string); in prepareVertexShaderCode()
15259 const glw::GLchar* uniform_name = getUniformName(argument); in prepareVertexShaderCode() local
15272 Utils::replaceToken(uniform_name_token, search_position, uniform_name, string); in prepareVertexShaderCode()
[all …]
Dgl4cShaderImageLoadStoreTests.cpp7009 …ndTextureToImage(GLuint program_id, GLuint texture_id, GLuint image_unit, const char* uniform_name) in BindTextureToImage() argument
7016 image_uniform_location = glGetUniformLocation(program_id, uniform_name); in BindTextureToImage()
7020 …throw tcu::InternalError("A required uniform is considered inactive", uniform_name, __FILE__, __LI… in BindTextureToImage()
7510 const char* uniform_name) in BindTextureToImage() argument
7516 image_uniform_location = glGetUniformLocation(program_id, uniform_name); in BindTextureToImage()
7520 throw tcu::InternalError("Uniform location is not available", uniform_name, __FILE__, __LINE__); in BindTextureToImage()
8175 …age(GLuint program_id, GLuint texture_id, GLint level, GLuint image_unit, const char* uniform_name) in BindTextureToImage() argument
8182 image_uniform_location = glGetUniformLocation(program_id, uniform_name); in BindTextureToImage()
8186 throw tcu::InternalError("Uniform location is not available", uniform_name, __FILE__, __LINE__); in BindTextureToImage()
/external/deqp/external/openglcts/modules/common/
DglcViewportArrayTests.hpp153 …glw::GLint getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum shader_stage)…
155 glw::GLint getUniformLocation(const glw::GLchar* uniform_name) const;
DglcViewportArrayTests.cpp477 GLint Utils::program::getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum sha… in getSubroutineUniformLocation() argument
482 location = gl.getSubroutineUniformLocation(m_program_object_id, shader_stage, uniform_name); in getSubroutineUniformLocation()
487 …ontext.getTestContext().getLog() << tcu::TestLog::Message << "Subroutine uniform: " << uniform_name in getSubroutineUniformLocation()
502 GLint Utils::program::getUniformLocation(const glw::GLchar* uniform_name) const in getUniformLocation()
507 location = gl.getUniformLocation(m_program_object_id, uniform_name); in getUniformLocation()
512 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Uniform: " << uniform_name in getUniformLocation()