Searched refs:uniformIndices (Results 1 - 25 of 27) sorted by relevance

12

/external/deqp/modules/gles3/functional/
H A Des3fIndexedStateQueryTests.cpp314 GLuint uniformIndices[2] = {0}; local
315 glGetUniformIndices(m_program, 2, uniformNames, uniformIndices);
324 glBindBufferBase(GL_UNIFORM_BUFFER, uniformIndices[ndx], buffers[ndx]);
331 glGetIntegeri_v(GL_UNIFORM_BUFFER_BINDING, uniformIndices[ndx], &boundBuffer);
357 GLuint uniformIndices[2] = {0}; local
358 glGetUniformIndices(m_program, 2, uniformNames, uniformIndices);
375 glBindBufferBase(GL_UNIFORM_BUFFER, uniformIndices[0], buffers[0]);
380 glBindBufferRange(GL_UNIFORM_BUFFER, uniformIndices[1], buffers[1], rangeBufferOffset, rangeBufferSize);
392 { uniformIndices[0], GL_UNIFORM_BUFFER_START, 0 },
393 { uniformIndices[
[all...]
H A Des3fShaderStateQueryTests.cpp1538 StateQueryMemoryWriteGuard<GLuint[DE_LENGTH_OF_ARRAY(uniformNames)]> uniformIndices; local
1539 glGetUniformIndices(program, DE_LENGTH_OF_ARRAY(uniformNames), uniformNames, uniformIndices);
1540 uniformIndices.verifyValidity(m_testCtx);
1545 const GLuint uniformIndex = uniformIndices[ndx];
1566 const GLuint uniformIndex = uniformIndices[ndx];
1798 StateQueryMemoryWriteGuard<GLuint[DE_LENGTH_OF_ARRAY(uniformNames)]> uniformIndices; local
1801 glGetUniformIndices(program, DE_LENGTH_OF_ARRAY(uniformNames), uniformNames, uniformIndices);
1802 uniformIndices.verifyValidity(m_testCtx);
1805 glGetActiveUniformsiv(program, DE_LENGTH_OF_ARRAY(uniformNames), uniformIndices, GL_UNIFORM_BLOCK_INDEX, uniformsBlockIndices);
1853 if ((GLuint(longlongUniformBlockUniformIndices[0]) != uniformIndices[
[all...]
H A Des3fNegativeStateApiTests.cpp551 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if any value in uniformIndices is greater than or equal to the value of GL_ACTIVE_UNIFORMS for program.");
666 GLuint uniformIndices = -1;
673 glGetUniformIndices(shader, 1, &uniformName, &uniformIndices);
679 glGetUniformIndices(invalid, 1, &uniformName, &uniformIndices);
H A Des3fUniformApiTests.cpp1549 vector<GLuint> uniformIndices (basicUniformReportsRef.size());
1550 vector<deUint32> validUniformIndices; // This shall have the same contents, and in same order, as uniformIndices, but with GL_INVALID_INDEX entries removed.
1560 GLU_CHECK_CALL(glGetUniformIndices(programGL, (GLsizei)basicUniformReportsRef.size(), &queryNamesC[0], &uniformIndices[0]));
1562 for (int i = 0; i < (int)uniformIndices.size(); i++)
1564 if (uniformIndices[i] != GL_INVALID_INDEX)
1565 validUniformIndices.push_back(uniformIndices[i]);
1587 int validNdx = -1; // Keeps the corresponding index to validUniformIndices while unifNdx is the index to uniformIndices.
1588 for (int unifNdx = 0; unifNdx < (int)uniformIndices.size(); unifNdx++)
1590 if (uniformIndices[unifNdx] == GL_INVALID_INDEX)
/external/deqp/external/openglcts/modules/common/
H A DglcUniformBlockCase.cpp1150 std::vector<deUint32> uniformIndices(numActiveUniforms);
1152 uniformIndices[i] = (deUint32)i;
1164 gl.getActiveUniformsiv(program, (glw::GLsizei)uniformIndices.size(), &uniformIndices[0], GL_UNIFORM_TYPE,
1166 gl.getActiveUniformsiv(program, (glw::GLsizei)uniformIndices.size(), &uniformIndices[0], GL_UNIFORM_SIZE,
1168 gl.getActiveUniformsiv(program, (glw::GLsizei)uniformIndices.size(), &uniformIndices[0], GL_UNIFORM_NAME_LENGTH,
1170 gl.getActiveUniformsiv(program, (glw::GLsizei)uniformIndices.size(), &uniformIndices[
[all...]
/external/deqp/modules/glshared/
H A DglsUniformBlockCase.cpp1209 std::vector<deUint32> uniformIndices(numActiveUniforms);
1211 uniformIndices[i] = (deUint32)i;
1223 gl.getActiveUniformsiv(program, (glw::GLsizei)uniformIndices.size(), &uniformIndices[0], GL_UNIFORM_TYPE, &types[0]);
1224 gl.getActiveUniformsiv(program, (glw::GLsizei)uniformIndices.size(), &uniformIndices[0], GL_UNIFORM_SIZE, &sizes[0]);
1225 gl.getActiveUniformsiv(program, (glw::GLsizei)uniformIndices.size(), &uniformIndices[0], GL_UNIFORM_NAME_LENGTH, &nameLengths[0]);
1226 gl.getActiveUniformsiv(program, (glw::GLsizei)uniformIndices.size(), &uniformIndices[
[all...]
/external/mesa3d/src/mesa/main/
H A Duniform_query.cpp110 const GLuint *uniformIndices,
142 uniformIndices[i])) {
150 uniformIndices[i]);
151 if (!_mesa_program_resource_prop(shProg, res, uniformIndices[i],
108 _mesa_GetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) argument
H A Duniforms.h222 GLuint *uniformIndices);
255 const GLuint *uniformIndices,
H A Duniforms.c956 GLuint *uniformIndices)
982 uniformIndices[i] = _mesa_program_resource_index(shProg, res);
953 _mesa_GetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar * const *uniformNames, GLuint *uniformIndices) argument
/external/swiftshader/src/OpenGL/libGLESv2/
H A DlibGLESv3.cpp2451 GL_APICALL void GL_APIENTRY glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices) argument
2453 TRACE("(GLuint program = %d, GLsizei uniformCount = %d, const GLchar *const*uniformNames = %p, GLuint *uniformIndices = %p)",
2454 program, uniformCount, uniformNames, uniformIndices);
2483 uniformIndices[uniformId] = GL_INVALID_INDEX;
2490 uniformIndices[uniformId] = programObject->getUniformIndex(uniformNames[uniformId]);
2496 GL_APICALL void GL_APIENTRY glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) argument
2498 TRACE("(GLuint program = %d, GLsizei uniformCount = %d, const GLchar *const*uniformNames = %p, GLenum pname = 0x%X, GLuint *uniformIndices = %p)",
2499 program, uniformCount, uniformIndices, pname, uniformIndices);
2541 const GLuint index = uniformIndices[uniformI
[all...]
/external/deqp/framework/opengl/simplereference/
H A DsglrContextWrapper.hpp256 void glGetUniformIndices (deUint32 program, int uniformCount, const char* const* uniformNames, deUint32* uniformIndices);
257 void glGetActiveUniformsiv (deUint32 program, int uniformCount, const deUint32* uniformIndices, deUint32 pname, int* params);
/external/deqp/modules/gles31/functional/
H A Des31fNegativeStateApiTests.cpp837 ctx.beginSection("GL_INVALID_VALUE is generated if any value in uniformIndices is greater than or equal to the value of GL_ACTIVE_UNIFORMS for program.");
977 GLuint uniformIndices = -1; local
985 ctx.glGetUniformIndices(shader, 1, &uniformName, &uniformIndices);
990 ctx.glGetUniformIndices(invalid, 1, &uniformName, &uniformIndices);
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES3/
H A Dgl3.h1016 GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices);
1017 GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params);
/external/mesa3d/include/GLES3/
H A Dgl3.h1053 typedef void (GL_APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1054 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1157 GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1158 GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
H A Dgl31.h1053 typedef void (GL_APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1054 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1157 GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1158 GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
H A Dgl32.h1053 typedef void (GL_APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1054 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1157 GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1158 GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
/external/swiftshader/include/GLES3/
H A Dgl3.h1057 typedef void (GL_APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1058 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1162 GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1163 GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
/external/deqp/framework/platform/null/
H A DtcuNullRenderContextFuncs.inl2140 GLW_APICALL void GLW_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params)
2144 DE_UNREF(uniformIndices);
3238 GLW_APICALL void GLW_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices)
3243 DE_UNREF(uniformIndices);
/external/mesa3d/include/GL/
H A Dglcorearb.h1473 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1474 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1486 GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1487 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
/external/deqp/framework/opengl/wrapper/
H A DglwImpl.inl1967 void glwGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params)
1972 gl->getActiveUniformsiv(program, uniformCount, uniformIndices, pname, params);
3031 void glwGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices)
3036 gl->getUniformIndices(program, uniformCount, uniformNames, uniformIndices);
H A DglwApi.inl1143 void glwGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1276 void glwGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
H A DglwFunctionTypes.inl251 typedef GLW_APICALL void (GLW_APIENTRY* glGetActiveUniformsivFunc) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
384 typedef GLW_APICALL void (GLW_APIENTRY* glGetUniformIndicesFunc) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
/external/deqp/framework/opengl/
H A DgluCallLogWrapper.inl1769 void CallLogWrapper::glGetActiveUniformsiv (glw::GLuint program, glw::GLsizei uniformCount, const glw::GLuint *uniformIndices, glw::GLenum pname, glw::GLint *params)
1772 m_log << TestLog::Message << "glGetActiveUniformsiv(" << program << ", " << uniformCount << ", " << getPointerStr(uniformIndices, uniformCount) << ", " << getUniformParamStr(pname) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(params))) << ");" << TestLog::EndMessage;
1773 m_gl.getActiveUniformsiv(program, uniformCount, uniformIndices, pname, params);
2815 void CallLogWrapper::glGetUniformIndices (glw::GLuint program, glw::GLsizei uniformCount, const glw::GLchar *const*uniformNames, glw::GLuint *uniformIndices)
2818 m_log << TestLog::Message << "glGetUniformIndices(" << program << ", " << uniformCount << ", " << getPointerStr(uniformNames, uniformCount) << ", " << toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(uniformIndices))) << ");" << TestLog::EndMessage;
2819 m_gl.getUniformIndices(program, uniformCount, uniformNames, uniformIndices);
2821 m_log << TestLog::Message << "// uniformIndices = " << getPointerStr(uniformIndices, uniformCount) << TestLog::EndMessage;
H A DgluCallLogWrapperApi.inl251 void glGetActiveUniformsiv (glw::GLuint program, glw::GLsizei uniformCount, const glw::GLuint *uniformIndices, glw::GLenum pname, glw::GLint *params);
384 void glGetUniformIndices (glw::GLuint program, glw::GLsizei uniformCount, const glw::GLchar *const*uniformNames, glw::GLuint *uniformIndices);
/external/swiftshader/include/GL/
H A Dglcorearb.h1473 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1474 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1486 GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1487 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);

Completed in 762 milliseconds

12