Lines Matching refs:program
111 bool verifyProgramParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLenum… in verifyProgramParam() argument
114 gl.glGetProgramiv(program, pname, &state); in verifyProgramParam()
119 void verifyActiveUniformParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program,… in verifyActiveUniformParam() argument
122 gl.glGetActiveUniformsiv(program, 1, &index, pname, &state); in verifyActiveUniformParam()
128 …mBlockParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLuint blockInde… in verifyActiveUniformBlockParam() argument
131 gl.glGetActiveUniformBlockiv(program, blockIndex, pname, &state); in verifyActiveUniformBlockParam()
257 void verifyUniformValue1f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue1f() argument
262 gl.glGetUniformfv(program, location, state); in verifyUniformValue1f()
282 void verifyUniformValue2f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue2f() argument
287 gl.glGetUniformfv(program, location, state); in verifyUniformValue2f()
310 void verifyUniformValue3f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue3f() argument
315 gl.glGetUniformfv(program, location, state); in verifyUniformValue3f()
341 void verifyUniformValue4f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue4f() argument
346 gl.glGetUniformfv(program, location, state); in verifyUniformValue4f()
375 void verifyUniformValue1i (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue1i() argument
380 gl.glGetUniformiv(program, location, state); in verifyUniformValue1i()
400 void verifyUniformValue2i (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue2i() argument
405 gl.glGetUniformiv(program, location, state); in verifyUniformValue2i()
428 void verifyUniformValue3i (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue3i() argument
433 gl.glGetUniformiv(program, location, state); in verifyUniformValue3i()
459 void verifyUniformValue4i (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue4i() argument
464 gl.glGetUniformiv(program, location, state); in verifyUniformValue4i()
493 void verifyUniformValue1ui (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLi… in verifyUniformValue1ui() argument
498 gl.glGetUniformuiv(program, location, state); in verifyUniformValue1ui()
518 void verifyUniformValue2ui (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLi… in verifyUniformValue2ui() argument
523 gl.glGetUniformuiv(program, location, state); in verifyUniformValue2ui()
546 void verifyUniformValue3ui (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLi… in verifyUniformValue3ui() argument
551 gl.glGetUniformuiv(program, location, state); in verifyUniformValue3ui()
577 void verifyUniformValue4ui (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLi… in verifyUniformValue4ui() argument
582 gl.glGetUniformuiv(program, location, state); in verifyUniformValue4ui()
612 void verifyUniformValues (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLint… in verifyUniformValues() argument
617 gl.glGetUniformfv(program, location, state); in verifyUniformValues()
635 void verifyUniformMatrixValues (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program,… in verifyUniformMatrixValues() argument
640 gl.glGetUniformfv(program, location, state); in verifyUniformMatrixValues()
1242 GLuint program = glCreateProgram(); in test() local
1243 glAttachShader(program, shaderVert); in test()
1244 glAttachShader(program, shaderFrag); in test()
1245 glLinkProgram(program); in test()
1248 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &logLength); in test()
1257 glGetProgramInfoLog(program, BUF_SIZE, &written, buffer); in test()
1280 glGetProgramInfoLog(program, logLength, &written, buffer); in test()
1302 glGetProgramInfoLog(program, 1, &written, buffer); in test()
1314 glDeleteProgram(program); in test()
1343 GLuint program = glCreateProgram(); in test() local
1344 glAttachShader(program, shaderVert); in test()
1345 glAttachShader(program, shaderFrag); in test()
1346 glLinkProgram(program); in test()
1351 verifyProgramParam (m_testCtx, *this, program, GL_LINK_STATUS, GL_TRUE); in test()
1353 glValidateProgram(program); in test()
1354 verifyProgramParam(m_testCtx, *this, program, GL_VALIDATE_STATUS, GL_TRUE); in test()
1358 glDeleteProgram(program); in test()
1374 GLuint program = glCreateProgram(); in test() local
1375 glAttachShader(program, shaderVert); in test()
1376 glAttachShader(program, shaderFrag); in test()
1377 glLinkProgram(program); in test()
1382 verifyProgramParam (m_testCtx, *this, program, GL_LINK_STATUS, GL_FALSE); in test()
1384 glValidateProgram(program); in test()
1385 verifyProgramParam(m_testCtx, *this, program, GL_VALIDATE_STATUS, GL_FALSE); in test()
1389 glDeleteProgram(program); in test()
1419 GLuint program = glCreateProgram(); in test() local
1420 verifyProgramParam(m_testCtx, *this, program, GL_ATTACHED_SHADERS, 0); in test()
1423 glAttachShader(program, shaderVert); in test()
1424 verifyProgramParam(m_testCtx, *this, program, GL_ATTACHED_SHADERS, 1); in test()
1427 glAttachShader(program, shaderFrag); in test()
1428 verifyProgramParam(m_testCtx, *this, program, GL_ATTACHED_SHADERS, 2); in test()
1435 glGetAttachedShaders(program, DE_LENGTH_OF_ARRAY(shaders), &count, shaders); in test()
1458 glGetAttachedShaders(program, 0, &count, shaders); in test()
1467 glGetAttachedShaders(program, 1, &count, shaders); in test()
1478 glDeleteProgram(program); in test()
1522 GLuint program = glCreateProgram(); in test() local
1523 glAttachShader(program, shaderVert); in test()
1524 glAttachShader(program, shaderFrag); in test()
1525 glLinkProgram(program); in test()
1528 verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_UNIFORMS, 3); in test()
1529 …verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_UNIFORM_MAX_LENGTH, (GLint)std::string("un… in test()
1539 glGetUniformIndices(program, DE_LENGTH_OF_ARRAY(uniformNames), uniformNames, uniformIndices); in test()
1548 glGetActiveUniformsiv(program, 1, &uniformIndex, GL_UNIFORM_NAME_LENGTH, &uniformNameLen); in test()
1571 …glGetActiveUniform(program, uniformIndex, DE_LENGTH_OF_ARRAY(buffer), &written, &size, &type, buff… in test()
1583 glGetActiveUniform(program, uniformIndex, 1, &written, &size, &type, buffer); in test()
1596 glDeleteProgram(program); in test()
1675 GLuint program = glCreateProgram(); in test() local
1677 glAttachShader(program, shaderVert); in test()
1678 glAttachShader(program, shaderFrag); in test()
1708 glLinkProgram(program); in test()
1711 if (verifyProgramParam(m_testCtx, *this, program, GL_LINK_STATUS, GL_TRUE)) in test()
1715 glGetUniformIndices(program, 1, uniformNames, &uniformIndex); in test()
1718 …verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_TYPE, uniformTypes[… in test()
1719 …verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_SIZE, uniformTypes[… in test()
1720 …verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_IS_ROW_MAJOR, uniform… in test()
1726 glDeleteProgram(program); in test()
1770 GLuint program = glCreateProgram(); in test() local
1771 glAttachShader(program, shaderVert); in test()
1772 glAttachShader(program, shaderFrag); in test()
1773 glLinkProgram(program); in test()
1778 verifyProgramParam (m_testCtx, *this, program, GL_LINK_STATUS, GL_TRUE); in test()
1780 verifyProgramParam (m_testCtx, *this, program, GL_ACTIVE_UNIFORM_BLOCKS, 2); in test()
1781 …verifyProgramParam (m_testCtx, *this, program, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, (GLint)st… in test()
1784 GLint longlongUniformBlockIndex = glGetUniformBlockIndex(program, "longlongUniformBlockName"); in test()
1785 GLint shortUniformBlockIndex = glGetUniformBlockIndex(program, "shortUniformBlockName"); in test()
1801 glGetUniformIndices(program, DE_LENGTH_OF_ARRAY(uniformNames), uniformNames, uniformIndices); in test()
1805 …glGetActiveUniformsiv(program, DE_LENGTH_OF_ARRAY(uniformNames), uniformIndices, GL_UNIFORM_BLOCK_… in test()
1822 …verifyActiveUniformBlockParam(m_testCtx, *this, program, longlongUniformBlockIndex, GL_UNIFORM_BLO… in test()
1823 …verifyActiveUniformBlockParam(m_testCtx, *this, program, shortUniformBlockIndex, GL_UNIFORM_BLOCK_… in test()
1828 …verifyActiveUniformBlockParam(m_testCtx, *this, program, longlongUniformBlockIndex, GL_UNIFORM_BLO… in test()
1829 …verifyActiveUniformBlockParam(m_testCtx, *this, program, longlongUniformBlockIndex, GL_UNIFORM_BLO… in test()
1830 …verifyActiveUniformBlockParam(m_testCtx, *this, program, shortUniformBlockIndex, GL_UNIFORM_BLOCK_… in test()
1831 …verifyActiveUniformBlockParam(m_testCtx, *this, program, shortUniformBlockIndex, GL_UNIFORM_BLOCK_… in test()
1836 …verifyActiveUniformBlockParam(m_testCtx, *this, program, longlongUniformBlockIndex, GL_UNIFORM_BLO… in test()
1837 …verifyActiveUniformBlockParam(m_testCtx, *this, program, shortUniformBlockIndex, GL_UNIFORM_BLOCK_… in test()
1844 …glGetActiveUniformBlockiv(program, longlongUniformBlockIndex, GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, &l… in test()
1850 …glGetActiveUniformBlockiv(program, longlongUniformBlockIndex, GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDI… in test()
1872 …glGetActiveUniformBlockName(program, longlongUniformBlockIndex, DE_LENGTH_OF_ARRAY(buffer), &writt… in test()
1876 …glGetActiveUniformBlockName(program, shortUniformBlockIndex, DE_LENGTH_OF_ARRAY(buffer), &written,… in test()
1881 glGetActiveUniformBlockName(program, longlongUniformBlockIndex, 1, &written, buffer); in test()
1888 glDeleteProgram(program); in test()
1915 GLuint program = glCreateProgram(); in test() local
1916 glAttachShader(program, shaderVert); in test()
1917 glAttachShader(program, shaderFrag); in test()
1918 glLinkProgram(program); in test()
1922 verifyProgramParam(m_testCtx, *this, program, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_FALSE); in test()
1924 glProgramParameteri(program, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_TRUE); in test()
1927 glLinkProgram(program); in test()
1930 verifyProgramParam(m_testCtx, *this, program, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_TRUE); in test()
1935 glGetProgramiv(program, GL_PROGRAM_BINARY_LENGTH, &programLength); in test()
1941 glDeleteProgram(program); in test()
2102 GLuint program = glCreateProgram(); in test() local
2103 glAttachShader(program, shaderVert); in test()
2104 glAttachShader(program, shaderFrag); in test()
2105 glLinkProgram(program); in test()
2108 verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_ATTRIBUTES, 2); in test()
2109 …verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, (GLint)std::string("… in test()
2119 …glGetActiveAttrib(program, attributeNdx, DE_LENGTH_OF_ARRAY(buffer), &written, &size, &type, buffe… in test()
2146 glGetActiveAttrib(program, 0, 1, &written, &size, &type, buffer); in test()
2153 glDeleteProgram(program); in test()
3005 GLuint program = glCreateProgram(); in test() local
3006 glAttachShader(program, shaderVert); in test()
3007 glAttachShader(program, shaderFrag); in test()
3008 glLinkProgram(program); in test()
3009 glUseProgram(program); in test()
3014 location = glGetUniformLocation(program,"floatUniform"); in test()
3016 verifyUniformValue1f(m_testCtx, *this, program, location, 1.0f); in test()
3018 location = glGetUniformLocation(program,"float2Uniform"); in test()
3020 verifyUniformValue2f(m_testCtx, *this, program, location, 1.0f, 2.0f); in test()
3022 location = glGetUniformLocation(program,"float3Uniform"); in test()
3024 verifyUniformValue3f(m_testCtx, *this, program, location, 1.0f, 2.0f, 3.0f); in test()
3026 location = glGetUniformLocation(program,"float4Uniform"); in test()
3028 verifyUniformValue4f(m_testCtx, *this, program, location, 1.0f, 2.0f, 3.0f, 4.0f); in test()
3033 glDeleteProgram(program); in test()
3076 GLuint program = glCreateProgram(); in test() local
3077 glAttachShader(program, shaderVert); in test()
3078 glAttachShader(program, shaderFrag); in test()
3079 glLinkProgram(program); in test()
3080 glUseProgram(program); in test()
3085 location = glGetUniformLocation(program,"intUniform"); in test()
3087 verifyUniformValue1i(m_testCtx, *this, program, location, 1); in test()
3089 location = glGetUniformLocation(program,"int2Uniform"); in test()
3091 verifyUniformValue2i(m_testCtx, *this, program, location, 1, 2); in test()
3093 location = glGetUniformLocation(program,"int3Uniform"); in test()
3095 verifyUniformValue3i(m_testCtx, *this, program, location, 1, 2, 3); in test()
3097 location = glGetUniformLocation(program,"int4Uniform"); in test()
3099 verifyUniformValue4i(m_testCtx, *this, program, location, 1, 2, 3, 4); in test()
3104 glDeleteProgram(program); in test()
3147 GLuint program = glCreateProgram(); in test() local
3148 glAttachShader(program, shaderVert); in test()
3149 glAttachShader(program, shaderFrag); in test()
3150 glLinkProgram(program); in test()
3151 glUseProgram(program); in test()
3156 location = glGetUniformLocation(program,"uintUniform"); in test()
3158 verifyUniformValue1ui(m_testCtx, *this, program, location, 1); in test()
3160 location = glGetUniformLocation(program,"uint2Uniform"); in test()
3162 verifyUniformValue2ui(m_testCtx, *this, program, location, 1, 2); in test()
3164 location = glGetUniformLocation(program,"uint3Uniform"); in test()
3166 verifyUniformValue3ui(m_testCtx, *this, program, location, 1, 2, 3); in test()
3168 location = glGetUniformLocation(program,"uint4Uniform"); in test()
3170 verifyUniformValue4ui(m_testCtx, *this, program, location, 1, 2, 3, 4); in test()
3175 glDeleteProgram(program); in test()
3219 GLuint program = glCreateProgram(); in test() local
3220 glAttachShader(program, shaderVert); in test()
3221 glAttachShader(program, shaderFrag); in test()
3222 glLinkProgram(program); in test()
3223 glUseProgram(program); in test()
3230 location = glGetUniformLocation(program,"boolUniform"); in test()
3232 verifyUniformValue1i(m_testCtx, *this, program, location, 1); in test()
3234 location = glGetUniformLocation(program,"bool2Uniform"); in test()
3236 verifyUniformValue2i(m_testCtx, *this, program, location, 1, 1); in test()
3238 location = glGetUniformLocation(program,"bool3Uniform"); in test()
3240 verifyUniformValue3i(m_testCtx, *this, program, location, 0, 1, 1); in test()
3242 location = glGetUniformLocation(program,"bool4Uniform"); in test()
3244 verifyUniformValue4i(m_testCtx, *this, program, location, 1, 0, 1, 1); in test()
3248 location = glGetUniformLocation(program,"boolUniform"); in test()
3250 verifyUniformValue1i(m_testCtx, *this, program, location, 1); in test()
3252 location = glGetUniformLocation(program,"bool2Uniform"); in test()
3254 verifyUniformValue2i(m_testCtx, *this, program, location, 1, 1); in test()
3256 location = glGetUniformLocation(program,"bool3Uniform"); in test()
3258 verifyUniformValue3i(m_testCtx, *this, program, location, 0, 1, 1); in test()
3260 location = glGetUniformLocation(program,"bool4Uniform"); in test()
3262 verifyUniformValue4i(m_testCtx, *this, program, location, 1, 0, 1, 1); in test()
3267 glDeleteProgram(program); in test()
3307 GLuint program = glCreateProgram(); in test() local
3308 glAttachShader(program, shaderVert); in test()
3309 glAttachShader(program, shaderFrag); in test()
3310 glLinkProgram(program); in test()
3311 glUseProgram(program); in test()
3316 location = glGetUniformLocation(program,"uniformSampler"); in test()
3318 verifyUniformValue1i(m_testCtx, *this, program, location, 1); in test()
3323 glDeleteProgram(program); in test()
3370 GLuint program = glCreateProgram(); in test() local
3371 glAttachShader(program, shaderVert); in test()
3372 glAttachShader(program, shaderFrag); in test()
3373 glLinkProgram(program); in test()
3374 glUseProgram(program); in test()
3388 location = glGetUniformLocation(program,"arrayUniform"); in test()
3392 …verifyUniformValue1f(m_testCtx, *this, program, glGetUniformLocation(program,"arrayUniform[0]"), u… in test()
3393 …verifyUniformValue1f(m_testCtx, *this, program, glGetUniformLocation(program,"arrayUniform[1]"), u… in test()
3394 …verifyUniformValue1f(m_testCtx, *this, program, glGetUniformLocation(program,"arrayUniform[2]"), u… in test()
3395 …verifyUniformValue1f(m_testCtx, *this, program, glGetUniformLocation(program,"arrayUniform[3]"), u… in test()
3396 …verifyUniformValue1f(m_testCtx, *this, program, glGetUniformLocation(program,"arrayUniform[4]"), u… in test()
3399 location = glGetUniformLocation(program,"array2Uniform"); in test()
3403 …verifyUniformValue2f(m_testCtx, *this, program, glGetUniformLocation(program,"array2Uniform[0]"), … in test()
3404 …verifyUniformValue2f(m_testCtx, *this, program, glGetUniformLocation(program,"array2Uniform[1]"), … in test()
3405 …verifyUniformValue2f(m_testCtx, *this, program, glGetUniformLocation(program,"array2Uniform[2]"), … in test()
3406 …verifyUniformValue2f(m_testCtx, *this, program, glGetUniformLocation(program,"array2Uniform[3]"), … in test()
3407 …verifyUniformValue2f(m_testCtx, *this, program, glGetUniformLocation(program,"array2Uniform[4]"), … in test()
3410 location = glGetUniformLocation(program,"array3Uniform"); in test()
3414 …verifyUniformValue3f(m_testCtx, *this, program, glGetUniformLocation(program,"array3Uniform[0]"), … in test()
3415 …verifyUniformValue3f(m_testCtx, *this, program, glGetUniformLocation(program,"array3Uniform[1]"), … in test()
3416 …verifyUniformValue3f(m_testCtx, *this, program, glGetUniformLocation(program,"array3Uniform[2]"), … in test()
3417 …verifyUniformValue3f(m_testCtx, *this, program, glGetUniformLocation(program,"array3Uniform[3]"), … in test()
3418 …verifyUniformValue3f(m_testCtx, *this, program, glGetUniformLocation(program,"array3Uniform[4]"), … in test()
3421 location = glGetUniformLocation(program,"array4Uniform"); in test()
3425 …verifyUniformValue4f(m_testCtx, *this, program, glGetUniformLocation(program,"array4Uniform[0]"), … in test()
3426 …verifyUniformValue4f(m_testCtx, *this, program, glGetUniformLocation(program,"array4Uniform[1]"), … in test()
3427 …verifyUniformValue4f(m_testCtx, *this, program, glGetUniformLocation(program,"array4Uniform[2]"), … in test()
3428 …verifyUniformValue4f(m_testCtx, *this, program, glGetUniformLocation(program,"array4Uniform[3]"), … in test()
3429 …verifyUniformValue4f(m_testCtx, *this, program, glGetUniformLocation(program,"array4Uniform[4]"), … in test()
3435 glDeleteProgram(program); in test()
3477 GLuint program = glCreateProgram(); in test() local
3478 glAttachShader(program, shaderVert); in test()
3479 glAttachShader(program, shaderFrag); in test()
3480 glLinkProgram(program); in test()
3481 glUseProgram(program); in test()
3496 location = glGetUniformLocation(program,"mat2Uniform"); in test()
3498 verifyUniformMatrixValues<2>(m_testCtx, *this, program, location, matrixValues, false); in test()
3500 verifyUniformMatrixValues<2>(m_testCtx, *this, program, location, matrixValues, true); in test()
3502 location = glGetUniformLocation(program,"mat3Uniform"); in test()
3504 verifyUniformMatrixValues<3>(m_testCtx, *this, program, location, matrixValues, false); in test()
3506 verifyUniformMatrixValues<3>(m_testCtx, *this, program, location, matrixValues, true); in test()
3508 location = glGetUniformLocation(program,"mat4Uniform"); in test()
3510 verifyUniformMatrixValues<4>(m_testCtx, *this, program, location, matrixValues, false); in test()
3512 verifyUniformMatrixValues<4>(m_testCtx, *this, program, location, matrixValues, true); in test()
3517 glDeleteProgram(program); in test()