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

12

/external/chromium_org/third_party/angle/src/compiler/translator/
H A DTranslatorHLSL.cpp39 bool TranslatorHLSL::hasUniform(const std::string &uniformName) const
41 return (mUniformRegisterMap.count(uniformName) > 0);
44 unsigned int TranslatorHLSL::getUniformRegister(const std::string &uniformName) const
46 ASSERT(hasUniform(uniformName));
47 return mUniformRegisterMap.find(uniformName)->second;
H A DTranslatorHLSL.h21 bool hasUniform(const std::string &uniformName) const;
22 unsigned int getUniformRegister(const std::string &uniformName) const;
H A DShaderLang.cpp560 const char *uniformName,
563 if (!handle || !uniformName || !indexOut)
575 if (!translator->hasUniform(uniformName))
580 *indexOut = translator->getUniformRegister(uniformName);
559 ShGetUniformRegister(const ShHandle handle, const char *uniformName, unsigned int *indexOut) argument
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
H A DShaderD3D.h40 unsigned int getUniformRegister(const std::string &uniformName) const;
H A DShaderD3D.cpp354 unsigned int ShaderD3D::getUniformRegister(const std::string &uniformName) const
356 ASSERT(mUniformRegisterMap.count(uniformName) > 0);
357 return mUniformRegisterMap.find(uniformName)->second;
/external/chromium_org/third_party/angle/include/GLSLANG/
H A DShaderLang.h512 const char *uniformName,
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DProgramBinary.h221 static bool linkValidateUniforms(InfoLog &infoLog, const std::string &uniformName, const sh::Uniform &vertexUniform, const sh::Uniform &fragmentUniform);
223 static bool linkValidateInterfaceBlockFields(InfoLog &infoLog, const std::string &uniformName, const sh::InterfaceBlockField &vertexUniform, const sh::InterfaceBlockField &fragmentUniform);
H A DProgramBinary.cpp1811 bool ProgramBinary::linkValidateUniforms(InfoLog &infoLog, const std::string &uniformName, const sh::Uniform &vertexUniform, const sh::Uniform &fragmentUniform)
1813 if (!linkValidateVariablesBase(infoLog, uniformName, vertexUniform, fragmentUniform, true))
1837 bool ProgramBinary::linkValidateInterfaceBlockFields(InfoLog &infoLog, const std::string &uniformName, const sh::InterfaceBlockField &vertexUniform, const sh::InterfaceBlockField &fragmentUniform)
1839 if (!linkValidateVariablesBase(infoLog, uniformName, vertexUniform, fragmentUniform, true))
1846 infoLog.append("Matrix packings for %s differ between vertex and fragment shaders", uniformName.c_str());
1878 const std::string &uniformName = "uniform '" + vertexUniform.name + "'";
1879 if (!linkValidateUniforms(infoLog, uniformName, vertexUniform, fragmentUniform))
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Duniforms.c768 GLchar *uniformName)
797 if (uniformName) {
798 _mesa_copy_string(uniformName, bufSize, length,
766 _mesa_GetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) argument
/external/mesa3d/src/mesa/main/
H A Duniforms.c768 GLchar *uniformName)
797 if (uniformName) {
798 _mesa_copy_string(uniformName, bufSize, length,
766 _mesa_GetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) argument
/external/deqp/modules/gles31/functional/
H A Des31fLayoutBindingTests.cpp218 const std::string& uniformName);
263 const std::string& uniformName)
268 , m_uniformName (uniformName)
585 const std::string& uniformName);
622 const std::string& uniformName)
632 , m_uniformName (uniformName)
254 LayoutBindingRenderCase(Context& context, const char* name, const char* desc, ShaderType shaderType, TestType testType, glw::GLenum maxBindingPointEnum, glw::GLenum maxVertexUnitsEnum, glw::GLenum maxFragmentUnitsEnum, glw::GLenum maxCombinedUnitsEnum, const std::string& uniformName) argument
612 LayoutBindingNegativeCase(Context& context, const char* name, const char* desc, ShaderType shaderType, TestType testType, ErrorType errorType, glw::GLenum maxBindingPointEnum, glw::GLenum maxVertexUnitsEnum, glw::GLenum maxFragmentUnitsEnum, glw::GLenum maxCombinedUnitsEnum, const std::string& uniformName) argument
H A Des31fNegativeStateApiTests.cpp678 const GLchar* uniformName = "Block.blockVar"; local
686 ctx.glGetUniformIndices(shader, 1, &uniformName, &uniformIndices);
692 ctx.glGetUniformIndices(invalid, 1, &uniformName, &uniformIndices);
H A Des31fSeparateShaderTests.cpp1019 const string& uniformName,
1159 const string& uniformName,
1164 const GLint location = glGetUniformLocation(progName, uniformName.c_str());
1167 msg << "// Set program " << progName << "'s uniform '" << uniformName << "' to " << value;
/external/deqp/modules/gles3/functional/
H A Des3fNegativeStateApiTests.cpp664 const GLchar* uniformName = "Block.blockVar";
672 glGetUniformIndices(shader, 1, &uniformName, &uniformIndices);
678 glGetUniformIndices(invalid, 1, &uniformName, &uniformIndices);
H A Des3fUniformApiTests.cpp1661 const string& uniformName = uniformResult.name; local
1662 const vector<BasicUniformReportGL>::const_iterator uniformsivResultIt = BasicUniformReportGL::findWithName(uniformsivResults, uniformName.c_str());
1668 log << TestLog::Message << "// Checking uniform " << uniformName << TestLog::EndMessage;
1672 log << TestLog::Message << "// FAILURE: glGetActiveUniform() and glGetUniformIndices() gave different indices for uniform " << uniformName << TestLog::EndMessage;
1677 log << TestLog::Message << "// FAILURE: glGetActiveUniform() and glGetActiveUniformsiv() gave incompatible name lengths for uniform " << uniformName << TestLog::EndMessage;
1682 log << TestLog::Message << "// FAILURE: glGetActiveUniform() and glGetActiveUniformsiv() gave different sizes for uniform " << uniformName << TestLog::EndMessage;
1687 log << TestLog::Message << "// FAILURE: glGetActiveUniform() and glGetActiveUniformsiv() gave different types for uniform " << uniformName << TestLog::EndMessage;
1693 log << TestLog::Message << "// FAILURE: uniform " << uniformName << " was reported active by glGetActiveUniform() but not by glGetUniformIndices()" << TestLog::EndMessage;
/external/deqp/modules/gles2/functional/
H A Des2fShaderStateQueryTests.cpp1263 const std::string uniformName(buffer, bufferEnd);
1268 if (uniformName == uniformNames[uniformNdx])
1277 m_testCtx.getLog() << TestLog::Message << "// ERROR: Got unknown uniform name: " << uniformName << TestLog::EndMessage;
/external/deqp/framework/platform/null/
H A DtcuNullRenderContextFuncs.inl1970 GLW_APICALL void GLW_APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName)
1976 DE_UNREF(uniformName);
/external/deqp/framework/opengl/
H A DgluCallLogWrapperApi.inl299 void glGetActiveUniformName (glw::GLuint program, glw::GLuint uniformIndex, glw::GLsizei bufSize, glw::GLsizei* length, glw::GLchar* uniformName);
/external/deqp/framework/opengl/wrapper/
H A DglwApi.inl845 void glwGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName);
H A DglwFunctionTypes.inl299 typedef GLW_APICALL void (GLW_APIENTRY* glGetActiveUniformNameFunc) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName);
H A DglwImpl.inl2365 void glwGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName)
2370 gl->getActiveUniformName(program, uniformIndex, bufSize, length, uniformName);
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/glapi/
H A Dglapitable.h630 void (GLAPIENTRYP GetActiveUniformName)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName); /* 586 */
H A Dglapitemp.h4761 KEYWORD1 void KEYWORD2 NAME(GetActiveUniformName)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName) argument
4763 (void) program; (void) uniformIndex; (void) bufSize; (void) length; (void) uniformName;
4764 DISPATCH(GetActiveUniformName, (program, uniformIndex, bufSize, length, uniformName), (F, "glGetActiveUniformName(%d, %d, %d, %p, %p);\n", program, uniformIndex, bufSize, (const void *) length, (const void *) uniformName));
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
H A Dglapi_mapi_tmp_shared.h600 void APIENTRY shared_dispatch_stub_586(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
4580 static void APIENTRY noopGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) argument
4582 (void) program; (void) uniformIndex; (void) bufSize; (void) length; (void) uniformName;
16905 void APIENTRY shared_dispatch_stub_586(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) argument
16909 ((void (APIENTRY *)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName)) _func)(program, uniformIndex, bufSize, length, uniformName);
H A Dglapi_mapi_tmp.h801 GLAPI void APIENTRY GLAPI_PREFIX(GetActiveUniformName)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
6776 GLAPI void APIENTRY GLAPI_PREFIX(GetActiveUniformName)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) argument
6780 ((void (APIENTRY *)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName)) _func)(program, uniformIndex, bufSize, length, uniformName);

Completed in 1424 milliseconds

12