Searched refs:progCtx (Results 1 - 3 of 3) sorted by relevance

/external/deqp/modules/gles2/performance/
H A Des2pShaderCompilationCases.cpp1701 void ShaderCompilerCase::setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramContext& progCtx) const
1704 const char* vertShaderSourceCStr = progCtx.vertShaderSource.c_str();
1705 const char* fragShaderSourceCStr = progCtx.fragShaderSource.c_str();
1733 void ShaderCompilerCase::setShaderInputs (deUint32 program, const ProgramContext& progCtx) const
1739 for (int attribNdx = 0; attribNdx < (int)progCtx.vertexAttributes.size(); attribNdx++)
1741 int location = gl.getAttribLocation(program, progCtx.vertexAttributes[attribNdx].name.c_str());
1745 gl.vertexAttribPointer(location, 4, GL_FLOAT, GL_FALSE, 0, progCtx.vertexAttributes[attribNdx].value.getPtr());
1751 for (int uniformNdx = 0; uniformNdx < (int)progCtx.uniforms.size(); uniformNdx++)
1753 int location = gl.getUniformLocation(program, progCtx.uniforms[uniformNdx].name.c_str());
1756 const float* floatPtr = progCtx
[all...]
/external/deqp/modules/gles3/performance/
H A Des3pShaderCompilationCases.cpp1721 void ShaderCompilerCase::setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramContext& progCtx) const
1724 const char* vertShaderSourceCStr = progCtx.vertShaderSource.c_str();
1725 const char* fragShaderSourceCStr = progCtx.fragShaderSource.c_str();
1753 void ShaderCompilerCase::setShaderInputs (deUint32 program, const ProgramContext& progCtx) const
1759 for (int attribNdx = 0; attribNdx < (int)progCtx.vertexAttributes.size(); attribNdx++)
1761 int location = gl.getAttribLocation(program, progCtx.vertexAttributes[attribNdx].name.c_str());
1765 gl.vertexAttribPointer(location, 4, GL_FLOAT, GL_FALSE, 0, progCtx.vertexAttributes[attribNdx].value.getPtr());
1771 for (int uniformNdx = 0; uniformNdx < (int)progCtx.uniforms.size(); uniformNdx++)
1773 int location = gl.getUniformLocation(program, progCtx.uniforms[uniformNdx].name.c_str());
1776 const float* floatPtr = progCtx
[all...]
/external/deqp/modules/glshared/
H A DglsLongStressCase.cpp1137 const ProgramContext& progCtx = m_programContexts[progCtxNdx]; local
1140 for (int texSpecNdx = 0; texSpecNdx < (int)progCtx.textureSpecs.size(); texSpecNdx++)
1142 const TextureSpec& spec = progCtx.textureSpecs[texSpecNdx];
1222 const ProgramContext& progCtx = m_programContexts[progCtxNdx]; local
1223 glu::ShaderProgram prog(m_renderCtx, glu::makeVtxFragSources(mangleShaderNames(progCtx.vertexSource, ""), mangleShaderNames(progCtx.fragmentSource, "")));

Completed in 492 milliseconds