/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cTextureStorageMultisampleGetActiveUniformTests.cpp | 289 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 …]
|
D | es31cShaderAtomicCountersTests.cpp | 449 …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 …]
|
/third_party/mesa3d/src/compiler/glsl/ |
D | lower_const_arrays_to_uniforms.cpp | 109 char *uniform_name = ralloc_asprintf(mem_ctx, "constarray_%x_%u", in handle_rvalue() local 114 new(mem_ctx) ir_variable(con->type, uniform_name, ir_var_uniform); in handle_rvalue()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cShaderAtomicCountersTests.cpp | 544 …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 …]
|
D | gl4cShadingLanguage420PackTests.hpp | 286 …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;
|
D | gl4cShaderSubroutineTests.hpp | 105 …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,
|
D | gl4cShaderSubroutineTests.cpp | 467 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() 3246 …FunctionalTest3_4::getSubroutineUniformLocation(GLuint program_id, const glw::GLchar* uniform_name, in getSubroutineUniformLocation() argument 3254 location = gl.getSubroutineUniformLocation(program_id, GL_VERTEX_SHADER, uniform_name); in getSubroutineUniformLocation() 3259 location = gl.getProgramResourceLocation(program_id, GL_VERTEX_SUBROUTINE_UNIFORM, uniform_name); in getSubroutineUniformLocation() 3367 const GLchar* uniform_name = uniform_names[uniform]; in inspectProgramResourceiv() local [all …]
|
D | gl4cShadingLanguage420PackTests.cpp | 1936 const glw::GLchar* uniform_name) const in bindTextureToimage() 1945 GLint location = program.getUniformLocation(uniform_name); in bindTextureToimage() 1957 const glw::GLchar* uniform_name) const in bindTextureToSampler() 1967 GLint location = program.getUniformLocation(uniform_name); in bindTextureToSampler() 18198 GLint Utils::program::getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum sha… in getSubroutineUniformLocation() argument 18203 location = gl.getSubroutineUniformLocation(m_program_object_id, shader_stage, uniform_name); in getSubroutineUniformLocation() 18208 …ontext.getTestContext().getLog() << tcu::TestLog::Message << "Subroutine uniform: " << uniform_name in getSubroutineUniformLocation() 18241 GLint Utils::program::getUniformLocation(const glw::GLchar* uniform_name) const in getUniformLocation() 18246 location = gl.getUniformLocation(m_program_object_id, uniform_name); in getUniformLocation() 18251 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Uniform: " << uniform_name in getUniformLocation() [all …]
|
D | gl4cGPUShaderFP64Tests.cpp | 3589 const glw::GLchar* uniform_name = 0; in inspectProgram() local 3615 uniform_name = uniform_name_str.c_str(); in inspectProgram() 3618 gl.getUniformIndices(program_id, 1 /* count */, &uniform_name, &index); in inspectProgram() 4934 const glw::GLchar* uniform_name = 0; in init() local 4945 uniform_name = uniform_name_str.c_str(); in init() 4948 gl.getUniformIndices(m_program_object_id, 1 /* count */, &uniform_name, &index); in init() 15017 const glw::GLchar* uniform_name = getUniformName(argument); in prepareVertexShaderCode() local 15025 Utils::replaceToken(uniform_name_token, search_position, uniform_name, string); in prepareVertexShaderCode() 15061 const glw::GLchar* uniform_name = getUniformName(argument); in prepareVertexShaderCode() local 15074 Utils::replaceToken(uniform_name_token, search_position, uniform_name, string); in prepareVertexShaderCode() [all …]
|
D | gl4cShaderImageLoadStoreTests.cpp | 7009 …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() 8172 …age(GLuint program_id, GLuint texture_id, GLint level, GLuint image_unit, const char* uniform_name) in BindTextureToImage() argument 8179 image_uniform_location = glGetUniformLocation(program_id, uniform_name); in BindTextureToImage() 8183 throw tcu::InternalError("Uniform location is not available", uniform_name, __FILE__, __LINE__); in BindTextureToImage()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcViewportArrayTests.hpp | 153 …glw::GLint getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum shader_stage)… 155 glw::GLint getUniformLocation(const glw::GLchar* uniform_name) const;
|
D | glcViewportArrayTests.cpp | 477 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()
|