/external/chromium_org/third_party/angle/src/compiler/translator/ |
H A D | TranslatorHLSL.cpp | 39 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 D | TranslatorHLSL.h | 21 bool hasUniform(const std::string &uniformName) const; 22 unsigned int getUniformRegister(const std::string &uniformName) const;
|
H A D | ShaderLang.cpp | 560 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 D | ShaderD3D.h | 40 unsigned int getUniformRegister(const std::string &uniformName) const;
|
H A D | ShaderD3D.cpp | 354 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 D | ShaderLang.h | 512 const char *uniformName,
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | ProgramBinary.h | 221 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 D | ProgramBinary.cpp | 1811 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 D | uniforms.c | 768 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 D | uniforms.c | 768 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 D | es31fLayoutBindingTests.cpp | 218 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 D | es31fNegativeStateApiTests.cpp | 678 const GLchar* uniformName = "Block.blockVar"; local 686 ctx.glGetUniformIndices(shader, 1, &uniformName, &uniformIndices); 692 ctx.glGetUniformIndices(invalid, 1, &uniformName, &uniformIndices);
|
H A D | es31fSeparateShaderTests.cpp | 1019 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 D | es3fNegativeStateApiTests.cpp | 664 const GLchar* uniformName = "Block.blockVar"; 672 glGetUniformIndices(shader, 1, &uniformName, &uniformIndices); 678 glGetUniformIndices(invalid, 1, &uniformName, &uniformIndices);
|
H A D | es3fUniformApiTests.cpp | 1661 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 D | es2fShaderStateQueryTests.cpp | 1263 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 D | tcuNullRenderContextFuncs.inl | 1970 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 D | gluCallLogWrapperApi.inl | 299 void glGetActiveUniformName (glw::GLuint program, glw::GLuint uniformIndex, glw::GLsizei bufSize, glw::GLsizei* length, glw::GLchar* uniformName);
|
/external/deqp/framework/opengl/wrapper/ |
H A D | glwApi.inl | 845 void glwGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName);
|
H A D | glwFunctionTypes.inl | 299 typedef GLW_APICALL void (GLW_APIENTRY* glGetActiveUniformNameFunc) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName);
|
H A D | glwImpl.inl | 2365 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 D | glapitable.h | 630 void (GLAPIENTRYP GetActiveUniformName)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName); /* 586 */
|
H A D | glapitemp.h | 4761 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 D | glapi_mapi_tmp_shared.h | 600 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 D | glapi_mapi_tmp.h | 801 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);
|