• Home
  • Raw
  • Download

Lines Matching refs:progCtx

1721 …e::setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramContext& progCtx) const  in setShaderSources()
1724 const char* vertShaderSourceCStr = progCtx.vertShaderSource.c_str(); in setShaderSources()
1725 const char* fragShaderSourceCStr = progCtx.fragShaderSource.c_str(); in setShaderSources()
1753 void ShaderCompilerCase::setShaderInputs (deUint32 program, const ProgramContext& progCtx) const in setShaderInputs()
1759 for (int attribNdx = 0; attribNdx < (int)progCtx.vertexAttributes.size(); attribNdx++) in setShaderInputs()
1761 int location = gl.getAttribLocation(program, progCtx.vertexAttributes[attribNdx].name.c_str()); in setShaderInputs()
1765 …gl.vertexAttribPointer(location, 4, GL_FLOAT, GL_FALSE, 0, progCtx.vertexAttributes[attribNdx].val… in setShaderInputs()
1771 for (int uniformNdx = 0; uniformNdx < (int)progCtx.uniforms.size(); uniformNdx++) in setShaderInputs()
1773 int location = gl.getUniformLocation(program, progCtx.uniforms[uniformNdx].name.c_str()); in setShaderInputs()
1776 const float* floatPtr = progCtx.uniforms[uniformNdx].value.getPtr(); in setShaderInputs()
1778 switch (progCtx.uniforms[uniformNdx].type) in setShaderInputs()
1812 …eanup (const ShadersAndProgram& shadersAndProgram, const ProgramContext& progCtx, bool linkSuccess… in cleanup() argument
1818 for (int attribNdx = 0; attribNdx < (int)progCtx.vertexAttributes.size(); attribNdx++) in cleanup()
1820 …int location = gl.getAttribLocation(shadersAndProgram.program, progCtx.vertexAttributes[attribNdx]… in cleanup()
1834 void ShaderCompilerCase::logProgramData (const BuildInfo& buildInfo, const ProgramContext& progCtx)… in logProgramData()
1837 …<< TestLog::Shader(QP_SHADER_TYPE_VERTEX, progCtx.vertShaderSource, buildInfo.vertCompileSuccess, … in logProgramData()
1838 …<< TestLog::Shader(QP_SHADER_TYPE_FRAGMENT, progCtx.fragShaderSource, buildInfo.fragCompileSuccess… in logProgramData()
1877 ProgramContext progCtx; in iterate() local
1878progCtx.vertShaderSource = specializeShaderSource(singleVaryingVertexTemplate(), specID, SHADER_VA… in iterate()
1879progCtx.fragShaderSource = specializeShaderSource(singleVaryingFragmentTemplate(), specID, SHADER_… in iterate()
1880 progCtx.vertexAttributes = singleValueShaderAttributes(getNameSpecialization(specID)); in iterate()
1883 setShaderSources(shadersAndProgram.vertShader, shadersAndProgram.fragShader, progCtx); in iterate()
1892 logProgramData(buildInfo, progCtx); in iterate()
1893 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()
1897 setShaderInputs(shadersAndProgram.program, progCtx); in iterate()
1899 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()
1917 ProgramContext progCtx = generateShaderData((int)measurements.size()); in iterate() local
1924 progCtx.vertShaderSource = strWithWhiteSpaceAndComments(progCtx.vertShaderSource, hash); in iterate()
1925 progCtx.fragShaderSource = strWithWhiteSpaceAndComments(progCtx.fragShaderSource, hash); in iterate()
1935 setShaderSources(shadersAndProgram.vertShader, shadersAndProgram.fragShader, progCtx); in iterate()
1951 logProgramData(buildInfo, progCtx); in iterate()
1952 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()
1957 setShaderInputs(shadersAndProgram.program, progCtx); in iterate()
1966 setShaderInputs(shadersAndProgram.program, progCtx); in iterate()
1975 cleanup(shadersAndProgram, progCtx, buildInfo.linkSuccess); in iterate()
1989 latestProgramContext = progCtx; in iterate()
2411 …dShaderCompilerCase::setShaderSources (const Shaders& shaders, const ProgramContext& progCtx) const in setShaderSources()
2414 const char* vertShaderSourceCStr = progCtx.vertShaderSource.c_str(); in setShaderSources()
2415 const char* fragShaderSourceCStr = progCtx.fragShaderSource.c_str(); in setShaderSources()
2429 …haderCompilerCase::logProgramData (const BuildInfo& buildInfo, const ProgramContext& progCtx) const in logProgramData()
2432 …<< TestLog::Shader(QP_SHADER_TYPE_VERTEX, progCtx.vertShaderSource, buildInfo.vertCompileSuccess, … in logProgramData()
2433 …<< TestLog::Shader(QP_SHADER_TYPE_FRAGMENT, progCtx.fragShaderSource, buildInfo.fragCompileSuccess… in logProgramData()
2485 ProgramContext progCtx; in iterate() local
2486progCtx.vertShaderSource = specializeShaderSource(singleVaryingVertexTemplate(), specID, shaderVal… in iterate()
2487progCtx.fragShaderSource = specializeShaderSource(singleVaryingFragmentTemplate(), specID, shaderV… in iterate()
2490 setShaderSources(shaders, progCtx); in iterate()
2498 logProgramData(buildInfo, progCtx); in iterate()
2520 ProgramContext progCtx = generateShaderSources((int)measurements.size()); in iterate() local
2531 setShaderSources(shaders, progCtx); in iterate()
2545 logProgramData(buildInfo, progCtx); in iterate()
2562 latestProgramContext = progCtx; in iterate()