Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/angle/src/compiler/translator/
DTranslatorHLSL.cpp39 bool TranslatorHLSL::hasUniform(const std::string &uniformName) const in hasUniform()
41 return (mUniformRegisterMap.count(uniformName) > 0); in hasUniform()
44 unsigned int TranslatorHLSL::getUniformRegister(const std::string &uniformName) const in getUniformRegister()
46 ASSERT(hasUniform(uniformName)); in getUniformRegister()
47 return mUniformRegisterMap.find(uniformName)->second; in getUniformRegister()
DTranslatorHLSL.h21 bool hasUniform(const std::string &uniformName) const;
22 unsigned int getUniformRegister(const std::string &uniformName) const;
DShaderLang.cpp560 const char *uniformName, in ShGetUniformRegister() argument
563 if (!handle || !uniformName || !indexOut) in ShGetUniformRegister()
575 if (!translator->hasUniform(uniformName)) in ShGetUniformRegister()
580 *indexOut = translator->getUniformRegister(uniformName); in ShGetUniformRegister()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
DShaderD3D.cpp354 unsigned int ShaderD3D::getUniformRegister(const std::string &uniformName) const in getUniformRegister()
356 ASSERT(mUniformRegisterMap.count(uniformName) > 0); in getUniformRegister()
357 return mUniformRegisterMap.find(uniformName)->second; in getUniformRegister()
DShaderD3D.h40 unsigned int getUniformRegister(const std::string &uniformName) const;
/external/chromium_org/third_party/angle/include/GLSLANG/
DShaderLang.h512 const char *uniformName,
/external/chromium_org/third_party/angle/src/libGLESv2/
DProgramBinary.h221 …static bool linkValidateUniforms(InfoLog &infoLog, const std::string &uniformName, const sh::Unifo…
223 …static bool linkValidateInterfaceBlockFields(InfoLog &infoLog, const std::string &uniformName, con…
DProgramBinary.cpp1811 bool ProgramBinary::linkValidateUniforms(InfoLog &infoLog, const std::string &uniformName, const sh… in linkValidateUniforms() argument
1813 if (!linkValidateVariablesBase(infoLog, uniformName, vertexUniform, fragmentUniform, true)) in linkValidateUniforms()
1837 …:linkValidateInterfaceBlockFields(InfoLog &infoLog, const std::string &uniformName, const sh::Inte… in linkValidateInterfaceBlockFields() argument
1839 if (!linkValidateVariablesBase(infoLog, uniformName, vertexUniform, fragmentUniform, true)) in linkValidateInterfaceBlockFields()
1846 …g.append("Matrix packings for %s differ between vertex and fragment shaders", uniformName.c_str()); in linkValidateInterfaceBlockFields()
1878 const std::string &uniformName = "uniform '" + vertexUniform.name + "'"; in linkUniforms() local
1879 if (!linkValidateUniforms(infoLog, uniformName, vertexUniform, fragmentUniform)) in linkUniforms()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Duniforms.c768 GLchar *uniformName) in _mesa_GetActiveUniformName() argument
797 if (uniformName) { in _mesa_GetActiveUniformName()
798 _mesa_copy_string(uniformName, bufSize, length, in _mesa_GetActiveUniformName()
/external/mesa3d/src/mesa/main/
Duniforms.c768 GLchar *uniformName) in _mesa_GetActiveUniformName() argument
797 if (uniformName) { in _mesa_GetActiveUniformName()
798 _mesa_copy_string(uniformName, bufSize, length, in _mesa_GetActiveUniformName()
/external/deqp/modules/gles31/functional/
Des31fLayoutBindingTests.cpp218 const std::string& uniformName);
263 const std::string& uniformName) in LayoutBindingRenderCase() argument
268 , m_uniformName (uniformName) in LayoutBindingRenderCase()
585 const std::string& uniformName);
622 const std::string& uniformName) in LayoutBindingNegativeCase() argument
632 , m_uniformName (uniformName) in LayoutBindingNegativeCase()
Des31fSeparateShaderTests.cpp1019 const string& uniformName,
1159 const string& uniformName, in setUniform() argument
1164 const GLint location = glGetUniformLocation(progName, uniformName.c_str()); in setUniform()
1167 msg << "// Set program " << progName << "'s uniform '" << uniformName << "' to " << value; in setUniform()
Des31fNegativeStateApiTests.cpp678 const GLchar* uniformName = "Block.blockVar"; in get_uniform_indices() local
686 ctx.glGetUniformIndices(shader, 1, &uniformName, &uniformIndices); in get_uniform_indices()
692 ctx.glGetUniformIndices(invalid, 1, &uniformName, &uniformIndices); in get_uniform_indices()
/external/deqp/modules/gles3/functional/
Des3fUniformApiTests.cpp1661 const string& uniformName = uniformResult.name; in uniformVsUniformsivComparison() local
1662 …or uniformsivResultIt = BasicUniformReportGL::findWithName(uniformsivResults, uniformName.c_str()); in uniformVsUniformsivComparison()
1668 log << TestLog::Message << "// Checking uniform " << uniformName << TestLog::EndMessage; in uniformVsUniformsivComparison()
1672 …rm() and glGetUniformIndices() gave different indices for uniform " << uniformName << TestLog::End… in uniformVsUniformsivComparison()
1677 …lGetActiveUniformsiv() gave incompatible name lengths for uniform " << uniformName << TestLog::End… in uniformVsUniformsivComparison()
1682 …rm() and glGetActiveUniformsiv() gave different sizes for uniform " << uniformName << TestLog::End… in uniformVsUniformsivComparison()
1687 …rm() and glGetActiveUniformsiv() gave different types for uniform " << uniformName << TestLog::End… in uniformVsUniformsivComparison()
1693 …log << TestLog::Message << "// FAILURE: uniform " << uniformName << " was reported active by glGet… in uniformVsUniformsivComparison()
Des3fNegativeStateApiTests.cpp664 const GLchar* uniformName = "Block.blockVar"; in init()
672 glGetUniformIndices(shader, 1, &uniformName, &uniformIndices); in init()
678 glGetUniformIndices(invalid, 1, &uniformName, &uniformIndices); in init()
/external/deqp/modules/gles2/functional/
Des2fShaderStateQueryTests.cpp1263 const std::string uniformName(buffer, bufferEnd); in test() local
1268 if (uniformName == uniformNames[uniformNdx]) in test()
1277 …Log() << TestLog::Message << "// ERROR: Got unknown uniform name: " << uniformName << TestLog::End… in test()
/external/deqp/framework/platform/null/
DtcuNullRenderContextFuncs.inl1970 …rmName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName) argument
1976 DE_UNREF(uniformName);
/external/deqp/framework/opengl/wrapper/
DglwImpl.inl2365 …rmName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName) argument
2370 gl->getActiveUniformName(program, uniformIndex, bufSize, length, uniformName);
DglwFunctionTypes.inl299 … (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName);
DglwApi.inl845 … (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName);
/external/deqp/framework/opengl/
DgluCallLogWrapperApi.inl299 …m, glw::GLuint uniformIndex, glw::GLsizei bufSize, glw::GLsizei* length, glw::GLchar* uniformName);
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/glapi/
Dglapitable.h630 …t program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName); /* 586 */
Dglapitemp.h4761 …Name)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName) in NAME()
4763 (void) program; (void) uniformIndex; (void) bufSize; (void) length; (void) uniformName; in NAME()
4764 …, uniformName), (F, "glGetActiveUniformName(%d, %d, %d, %p, %p);\n", program, uniformIndex, bufSiz… in NAME()
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
Dglapi_mapi_tmp_shared.h600 …ub_586(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
4580 …ormName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) in noopGetActiveUniformName() argument
4582 (void) program; (void) uniformIndex; (void) bufSize; (void) length; (void) uniformName; in noopGetActiveUniformName()
16905 …tub_586(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) in shared_dispatch_stub_586() argument
16909 …sizei bufSize, GLsizei *length, GLchar *uniformName)) _func)(program, uniformIndex, bufSize, lengt… in shared_dispatch_stub_586()
Dglapi_mapi_tmp.h801 …mName)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
6776 …rmName)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) in GLAPI_PREFIX()
6780 …sizei bufSize, GLsizei *length, GLchar *uniformName)) _func)(program, uniformIndex, bufSize, lengt… in GLAPI_PREFIX()

12