• Home
  • Raw
  • Download

Lines Matching refs:program

108 bool verifyProgramParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLenum…  in verifyProgramParam()  argument
111 gl.glGetProgramiv(program, pname, &state); in verifyProgramParam()
198 void verifyUniformValue1f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue1f() argument
203 gl.glGetUniformfv(program, location, state); in verifyUniformValue1f()
223 void verifyUniformValue2f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue2f() argument
228 gl.glGetUniformfv(program, location, state); in verifyUniformValue2f()
251 void verifyUniformValue3f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue3f() argument
256 gl.glGetUniformfv(program, location, state); in verifyUniformValue3f()
282 void verifyUniformValue4f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue4f() argument
287 gl.glGetUniformfv(program, location, state); in verifyUniformValue4f()
316 void verifyUniformValue1i (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue1i() argument
321 gl.glGetUniformiv(program, location, state); in verifyUniformValue1i()
341 void verifyUniformValue2i (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue2i() argument
346 gl.glGetUniformiv(program, location, state); in verifyUniformValue2i()
369 void verifyUniformValue3i (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue3i() argument
374 gl.glGetUniformiv(program, location, state); in verifyUniformValue3i()
400 void verifyUniformValue4i (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue4i() argument
405 gl.glGetUniformiv(program, location, state); in verifyUniformValue4i()
435 void verifyUniformValues (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLint… in verifyUniformValues() argument
440 gl.glGetUniformfv(program, location, state); in verifyUniformValues()
458 void verifyUniformMatrixValues (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program,… in verifyUniformMatrixValues() argument
463 gl.glGetUniformfv(program, location, state); in verifyUniformMatrixValues()
985 GLuint program = glCreateProgram(); in test() local
986 glAttachShader(program, shaderVert); in test()
987 glAttachShader(program, shaderFrag); in test()
988 glLinkProgram(program); in test()
995 glGetProgramInfoLog(program, DE_LENGTH_OF_ARRAY(buffer), &written, buffer); in test()
998 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &logLength); in test()
1014 glGetProgramInfoLog(program, 1, &written, buffer); in test()
1026 glDeleteProgram(program); in test()
1053 GLuint program = glCreateProgram(); in test() local
1054 glAttachShader(program, shaderVert); in test()
1055 glAttachShader(program, shaderFrag); in test()
1056 glLinkProgram(program); in test()
1061 verifyProgramParam (m_testCtx, *this, program, GL_LINK_STATUS, GL_TRUE); in test()
1063 glValidateProgram(program); in test()
1064 verifyProgramParam(m_testCtx, *this, program, GL_VALIDATE_STATUS, GL_TRUE); in test()
1068 glDeleteProgram(program); in test()
1084 GLuint program = glCreateProgram(); in test() local
1085 glAttachShader(program, shaderVert); in test()
1086 glAttachShader(program, shaderFrag); in test()
1087 glLinkProgram(program); in test()
1092 verifyProgramParam (m_testCtx, *this, program, GL_LINK_STATUS, GL_FALSE); in test()
1094 glValidateProgram(program); in test()
1095 verifyProgramParam(m_testCtx, *this, program, GL_VALIDATE_STATUS, GL_FALSE); in test()
1099 glDeleteProgram(program); in test()
1129 GLuint program = glCreateProgram(); in test() local
1130 verifyProgramParam(m_testCtx, *this, program, GL_ATTACHED_SHADERS, 0); in test()
1133 glAttachShader(program, shaderVert); in test()
1134 verifyProgramParam(m_testCtx, *this, program, GL_ATTACHED_SHADERS, 1); in test()
1137 glAttachShader(program, shaderFrag); in test()
1138 verifyProgramParam(m_testCtx, *this, program, GL_ATTACHED_SHADERS, 2); in test()
1145 glGetAttachedShaders(program, DE_LENGTH_OF_ARRAY(shaders), &count, shaders); in test()
1168 glGetAttachedShaders(program, 0, &count, shaders); in test()
1177 glGetAttachedShaders(program, 1, &count, shaders); in test()
1188 glDeleteProgram(program); in test()
1230 GLuint program = glCreateProgram(); in test() local
1231 glAttachShader(program, shaderVert); in test()
1232 glAttachShader(program, shaderFrag); in test()
1233 glLinkProgram(program); in test()
1236 verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_UNIFORMS, 3); in test()
1237 …verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_UNIFORM_MAX_LENGTH, (GLint)std::string("un… in test()
1256 glGetActiveUniform(program, ndx, DE_LENGTH_OF_ARRAY(buffer), &written, &size, &type, buffer); in test()
1285 glGetActiveUniform(program, ndx, 1, &written, &size, &type, buffer); in test()
1298 glDeleteProgram(program); in test()
1353 GLuint program = glCreateProgram(); in test() local
1355 glAttachShader(program, shaderVert); in test()
1356 glAttachShader(program, shaderFrag); in test()
1384 glLinkProgram(program); in test()
1387 if (verifyProgramParam(m_testCtx, *this, program, GL_LINK_STATUS, GL_TRUE)) in test()
1395 glGetActiveUniform(program, index, 0, &written, &size, &type, buffer); in test()
1404 glDeleteProgram(program); in test()
1444 GLuint program = glCreateProgram(); in test() local
1445 glAttachShader(program, shaderVert); in test()
1446 glAttachShader(program, shaderFrag); in test()
1447 glLinkProgram(program); in test()
1450 verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_ATTRIBUTES, 2); in test()
1451 …verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, (GLint)std::string("… in test()
1461 …glGetActiveAttrib(program, attributeNdx, DE_LENGTH_OF_ARRAY(buffer), &written, &size, &type, buffe… in test()
1488 glGetActiveAttrib(program, 0, 1, &written, &size, &type, buffer); in test()
1495 glDeleteProgram(program); in test()
1783 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(testVertSource, t… in test() local
1784 if (!program.isOk()) in test()
1786 m_log << program; in test()
1791 glUseProgram(program.getProgram()); in test()
1796 location = glGetUniformLocation(program.getProgram(), "floatUniform"); in test()
1798 verifyUniformValue1f(m_testCtx, *this, program.getProgram(), location, 1.0f); in test()
1800 location = glGetUniformLocation(program.getProgram(), "float2Uniform"); in test()
1802 verifyUniformValue2f(m_testCtx, *this, program.getProgram(), location, 1.0f, 2.0f); in test()
1804 location = glGetUniformLocation(program.getProgram(), "float3Uniform"); in test()
1806 verifyUniformValue3f(m_testCtx, *this, program.getProgram(), location, 1.0f, 2.0f, 3.0f); in test()
1808 location = glGetUniformLocation(program.getProgram(), "float4Uniform"); in test()
1810 verifyUniformValue4f(m_testCtx, *this, program.getProgram(), location, 1.0f, 2.0f, 3.0f, 4.0f); in test()
1842 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(testVertSource, t… in test() local
1843 if (!program.isOk()) in test()
1845 m_log << program; in test()
1850 glUseProgram(program.getProgram()); in test()
1855 location = glGetUniformLocation(program.getProgram(), "intUniform"); in test()
1857 verifyUniformValue1i(m_testCtx, *this, program.getProgram(), location, 1); in test()
1859 location = glGetUniformLocation(program.getProgram(), "int2Uniform"); in test()
1861 verifyUniformValue2i(m_testCtx, *this, program.getProgram(), location, 1, 2); in test()
1863 location = glGetUniformLocation(program.getProgram(), "int3Uniform"); in test()
1865 verifyUniformValue3i(m_testCtx, *this, program.getProgram(), location, 1, 2, 3); in test()
1867 location = glGetUniformLocation(program.getProgram(), "int4Uniform"); in test()
1869 verifyUniformValue4i(m_testCtx, *this, program.getProgram(), location, 1, 2, 3, 4); in test()
1901 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(testVertSource, t… in test() local
1902 if (!program.isOk()) in test()
1904 m_log << program; in test()
1909 glUseProgram(program.getProgram()); in test()
1916 location = glGetUniformLocation(program.getProgram(), "boolUniform"); in test()
1918 verifyUniformValue1i(m_testCtx, *this, program.getProgram(), location, 1); in test()
1920 location = glGetUniformLocation(program.getProgram(), "bool2Uniform"); in test()
1922 verifyUniformValue2i(m_testCtx, *this, program.getProgram(), location, 1, 1); in test()
1924 location = glGetUniformLocation(program.getProgram(), "bool3Uniform"); in test()
1926 verifyUniformValue3i(m_testCtx, *this, program.getProgram(), location, 0, 1, 1); in test()
1928 location = glGetUniformLocation(program.getProgram(), "bool4Uniform"); in test()
1930 verifyUniformValue4i(m_testCtx, *this, program.getProgram(), location, 1, 0, 1, 1); in test()
1934 location = glGetUniformLocation(program.getProgram(), "boolUniform"); in test()
1936 verifyUniformValue1i(m_testCtx, *this, program.getProgram(), location, 1); in test()
1938 location = glGetUniformLocation(program.getProgram(), "bool2Uniform"); in test()
1940 verifyUniformValue2i(m_testCtx, *this, program.getProgram(), location, 1, 1); in test()
1942 location = glGetUniformLocation(program.getProgram(), "bool3Uniform"); in test()
1944 verifyUniformValue3i(m_testCtx, *this, program.getProgram(), location, 0, 1, 1); in test()
1946 location = glGetUniformLocation(program.getProgram(), "bool4Uniform"); in test()
1948 verifyUniformValue4i(m_testCtx, *this, program.getProgram(), location, 1, 0, 1, 1); in test()
1978 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(testVertSource, t… in test() local
1979 if (!program.isOk()) in test()
1981 m_log << program; in test()
1986 glUseProgram(program.getProgram()); in test()
1991 location = glGetUniformLocation(program.getProgram(), "uniformSampler"); in test()
1993 verifyUniformValue1i(m_testCtx, *this, program.getProgram(), location, 1); in test()
2030 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(testVertSource, t… in test() local
2031 if (!program.isOk()) in test()
2033 m_log << program; in test()
2038 glUseProgram(program.getProgram()); in test()
2052 location = glGetUniformLocation(program.getProgram(), "arrayUniform"); in test()
2056 …verifyUniformValue1f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2057 …verifyUniformValue1f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2058 …verifyUniformValue1f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2059 …verifyUniformValue1f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2060 …verifyUniformValue1f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2063 location = glGetUniformLocation(program.getProgram(),"array2Uniform"); in test()
2067 …verifyUniformValue2f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2068 …verifyUniformValue2f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2069 …verifyUniformValue2f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2070 …verifyUniformValue2f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2071 …verifyUniformValue2f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2074 location = glGetUniformLocation(program.getProgram(),"array3Uniform"); in test()
2078 …verifyUniformValue3f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2079 …verifyUniformValue3f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2080 …verifyUniformValue3f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2081 …verifyUniformValue3f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2082 …verifyUniformValue3f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2085 location = glGetUniformLocation(program.getProgram(),"array4Uniform"); in test()
2089 …verifyUniformValue4f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2090 …verifyUniformValue4f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2091 …verifyUniformValue4f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2092 …verifyUniformValue4f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2093 …verifyUniformValue4f(m_testCtx, *this, program.getProgram(), glGetUniformLocation(program.getProgr… in test()
2126 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(testVertSource, t… in test() local
2127 if (!program.isOk()) in test()
2129 m_log << program; in test()
2134 glUseProgram(program.getProgram()); in test()
2149 location = glGetUniformLocation(program.getProgram(), "mat2Uniform"); in test()
2151 …verifyUniformMatrixValues<2>(m_testCtx, *this, program.getProgram(), location, matrixValues, false… in test()
2153 location = glGetUniformLocation(program.getProgram(), "mat3Uniform"); in test()
2155 …verifyUniformMatrixValues<3>(m_testCtx, *this, program.getProgram(), location, matrixValues, false… in test()
2157 location = glGetUniformLocation(program.getProgram(), "mat4Uniform"); in test()
2159 …verifyUniformMatrixValues<4>(m_testCtx, *this, program.getProgram(), location, matrixValues, false… in test()