Lines Matching refs:progCtx

1701 …e::setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramContext& progCtx) const  in setShaderSources()
1704 const char* vertShaderSourceCStr = progCtx.vertShaderSource.c_str(); in setShaderSources()
1705 const char* fragShaderSourceCStr = progCtx.fragShaderSource.c_str(); in setShaderSources()
1733 void ShaderCompilerCase::setShaderInputs (deUint32 program, const ProgramContext& progCtx) const in setShaderInputs()
1739 for (int attribNdx = 0; attribNdx < (int)progCtx.vertexAttributes.size(); attribNdx++) in setShaderInputs()
1741 int location = gl.getAttribLocation(program, progCtx.vertexAttributes[attribNdx].name.c_str()); in setShaderInputs()
1745 …gl.vertexAttribPointer(location, 4, GL_FLOAT, GL_FALSE, 0, progCtx.vertexAttributes[attribNdx].val… in setShaderInputs()
1751 for (int uniformNdx = 0; uniformNdx < (int)progCtx.uniforms.size(); uniformNdx++) in setShaderInputs()
1753 int location = gl.getUniformLocation(program, progCtx.uniforms[uniformNdx].name.c_str()); in setShaderInputs()
1756 const float* floatPtr = progCtx.uniforms[uniformNdx].value.getPtr(); in setShaderInputs()
1758 switch (progCtx.uniforms[uniformNdx].type) in setShaderInputs()
1792 …eanup (const ShadersAndProgram& shadersAndProgram, const ProgramContext& progCtx, bool linkSuccess… in cleanup() argument
1798 for (int attribNdx = 0; attribNdx < (int)progCtx.vertexAttributes.size(); attribNdx++) in cleanup()
1800 …int location = gl.getAttribLocation(shadersAndProgram.program, progCtx.vertexAttributes[attribNdx]… in cleanup()
1814 void ShaderCompilerCase::logProgramData (const BuildInfo& buildInfo, const ProgramContext& progCtx)… in logProgramData()
1817 …<< TestLog::Shader(QP_SHADER_TYPE_VERTEX, progCtx.vertShaderSource, buildInfo.vertCompileSuccess, … in logProgramData()
1818 …<< TestLog::Shader(QP_SHADER_TYPE_FRAGMENT, progCtx.fragShaderSource, buildInfo.fragCompileSuccess… in logProgramData()
1857 ProgramContext progCtx; in iterate() local
1858progCtx.vertShaderSource = specializeShaderSource(singleVaryingVertexTemplate(), specID, SHADER_VA… in iterate()
1859progCtx.fragShaderSource = specializeShaderSource(singleVaryingFragmentTemplate(), specID, SHADER_… in iterate()
1860 progCtx.vertexAttributes = singleValueShaderAttributes(getNameSpecialization(specID)); in iterate()
1863 setShaderSources(shadersAndProgram.vertShader, shadersAndProgram.fragShader, progCtx); in iterate()
1872 logProgramData(buildInfo, progCtx); in iterate()
1873 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()
1877 setShaderInputs(shadersAndProgram.program, progCtx); in iterate()
1879 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()
1897 ProgramContext progCtx = generateShaderData((int)measurements.size()); in iterate() local
1904 progCtx.vertShaderSource = strWithWhiteSpaceAndComments(progCtx.vertShaderSource, hash); in iterate()
1905 progCtx.fragShaderSource = strWithWhiteSpaceAndComments(progCtx.fragShaderSource, hash); in iterate()
1915 setShaderSources(shadersAndProgram.vertShader, shadersAndProgram.fragShader, progCtx); in iterate()
1931 logProgramData(buildInfo, progCtx); in iterate()
1932 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()
1937 setShaderInputs(shadersAndProgram.program, progCtx); in iterate()
1946 setShaderInputs(shadersAndProgram.program, progCtx); in iterate()
1955 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()
1969 latestProgramContext = progCtx; in iterate()
2391 …dShaderCompilerCase::setShaderSources (const Shaders& shaders, const ProgramContext& progCtx) const in setShaderSources()
2394 const char* vertShaderSourceCStr = progCtx.vertShaderSource.c_str(); in setShaderSources()
2395 const char* fragShaderSourceCStr = progCtx.fragShaderSource.c_str(); in setShaderSources()
2409 …haderCompilerCase::logProgramData (const BuildInfo& buildInfo, const ProgramContext& progCtx) const in logProgramData()
2412 …<< TestLog::Shader(QP_SHADER_TYPE_VERTEX, progCtx.vertShaderSource, buildInfo.vertCompileSuccess, … in logProgramData()
2413 …<< TestLog::Shader(QP_SHADER_TYPE_FRAGMENT, progCtx.fragShaderSource, buildInfo.fragCompileSuccess… in logProgramData()
2465 ProgramContext progCtx; in iterate() local
2466progCtx.vertShaderSource = specializeShaderSource(singleVaryingVertexTemplate(), specID, shaderVal… in iterate()
2467progCtx.fragShaderSource = specializeShaderSource(singleVaryingFragmentTemplate(), specID, shaderV… in iterate()
2470 setShaderSources(shaders, progCtx); in iterate()
2478 logProgramData(buildInfo, progCtx); in iterate()
2500 ProgramContext progCtx = generateShaderSources((int)measurements.size()); in iterate() local
2511 setShaderSources(shaders, progCtx); in iterate()
2525 logProgramData(buildInfo, progCtx); in iterate()
2542 latestProgramContext = progCtx; in iterate()