Lines Matching refs:m_testCtx

675 			verifyShaderParam(m_testCtx, *this, shader, GL_SHADER_TYPE, shaderTypes[ndx]);
694 verifyShaderParam(m_testCtx, *this, shaderVert, GL_COMPILE_STATUS, GL_FALSE);
695 verifyShaderParam(m_testCtx, *this, shaderFrag, GL_COMPILE_STATUS, GL_FALSE);
704 verifyShaderParam(m_testCtx, *this, shaderVert, GL_COMPILE_STATUS, GL_TRUE);
705 verifyShaderParam(m_testCtx, *this, shaderFrag, GL_COMPILE_STATUS, GL_TRUE);
727 verifyShaderParam(m_testCtx, *this, shader, GL_INFO_LOG_LENGTH, 0);
736 if (!logLength.verifyValidity(m_testCtx))
759 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length " << logLength-1 << "; got " << written << TestLog::EndMessage;
760 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
761 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid log length");
772 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected null terminator, got " << (int)*terminator << TestLog::EndMessage;
773 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
774 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid log terminator");
787 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length 0; got " << written << TestLog::EndMessage;
788 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
789 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid log length");
793 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected null terminator, got " << (int)buffer[0] << TestLog::EndMessage;
794 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
795 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid log terminator");
818 verifyShaderParam(m_testCtx, *this, shader, GL_SHADER_SOURCE_LENGTH, 0);
828 sourceLength.verifyValidity(m_testCtx);
833 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length " << referenceLength << "; got " << sourceLength << TestLog::EndMessage;
834 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
835 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid source length");
848 sourceLength.verifyValidity(m_testCtx);
853 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length " << referenceLength << "; got " << sourceLength << TestLog::EndMessage;
854 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
855 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid source length");
870 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected write length " << referenceLength << "; got " << written << TestLog::EndMessage;
871 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
872 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid source length");
879 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected null terminator at " << referenceLength << TestLog::EndMessage;
880 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
881 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "did not get a null terminator");
895 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected write length 0; got " << written << TestLog::EndMessage;
896 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
897 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid source length");
901 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected null terminator; got=" << int(buffer[0]) << ", char=" << buffer[0] << TestLog::EndMessage;
902 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
903 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid terminator");
932 verifyShaderParam(m_testCtx, *this, shaderVert, GL_COMPILE_STATUS, GL_TRUE);
933 verifyShaderParam(m_testCtx, *this, shaderFrag, GL_COMPILE_STATUS, GL_TRUE);
941 verifyProgramParam (m_testCtx, *this, shaderProg, GL_LINK_STATUS, GL_TRUE);
943 verifyShaderParam (m_testCtx, *this, shaderVert, GL_DELETE_STATUS, GL_FALSE);
944 verifyShaderParam (m_testCtx, *this, shaderFrag, GL_DELETE_STATUS, GL_FALSE);
945 verifyProgramParam (m_testCtx, *this, shaderProg, GL_DELETE_STATUS, GL_FALSE);
955 verifyShaderParam (m_testCtx, *this, shaderVert, GL_DELETE_STATUS, GL_TRUE);
956 verifyShaderParam (m_testCtx, *this, shaderFrag, GL_DELETE_STATUS, GL_TRUE);
957 verifyProgramParam (m_testCtx, *this, shaderProg, GL_DELETE_STATUS, GL_TRUE);
986 attribValue.verifyValidity(m_testCtx);
990 m_testCtx.getLog() << TestLog::Message
994 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
995 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid attribute value");
1028 verifyCurrentVertexAttribf(m_testCtx, *this, index, x, y, z, w);
1038 verifyCurrentVertexAttribf(m_testCtx, *this, index, x, y, z, w);
1048 verifyCurrentVertexAttribf(m_testCtx, *this, index, x, y, z, w);
1058 verifyCurrentVertexAttribf(m_testCtx, *this, index, x, y, z, w);
1090 verifyCurrentVertexAttribIi(m_testCtx, *this, index, x, y, z, w);
1122 verifyCurrentVertexAttribIui(m_testCtx, *this, index, x, y, z, w);
1154 verifyCurrentVertexAttribConversion(m_testCtx, *this, index, x, y, z, w);
1164 verifyCurrentVertexAttribConversion(m_testCtx, *this, index, x, y, z, w);
1174 verifyCurrentVertexAttribConversion(m_testCtx, *this, index, x, y, z, w);
1184 verifyCurrentVertexAttribConversion(m_testCtx, *this, index, x, y, z, w);
1249 logLength.verifyValidity(m_testCtx);
1253 const tcu::ScopedLogSection section (m_testCtx.getLog(), "QueryLarge", "Query to large buffer");
1261 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected INFO_LOG_LENGTH " << written+1 << "; got " << logLength << TestLog::EndMessage;
1262 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1263 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid log length");
1267 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected null terminator at index " << written << TestLog::EndMessage;
1268 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1269 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "missing null terminator");
1276 const tcu::ScopedLogSection section (m_testCtx.getLog(), "QueryAll", "Query all to exactly right sized buffer");
1284 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected INFO_LOG_LENGTH " << written+1 << "; got " << logLength << TestLog::EndMessage;
1285 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1286 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid log length");
1290 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected null terminator at index " << written << TestLog::EndMessage;
1291 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1292 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "missing null terminator");
1298 const tcu::ScopedLogSection section (m_testCtx.getLog(), "QueryNone", "Query none");
1306 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected write length 0; got " << written << TestLog::EndMessage;
1307 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1308 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid log length");
1349 verifyShaderParam (m_testCtx, *this, shaderVert, GL_COMPILE_STATUS, GL_TRUE);
1350 verifyShaderParam (m_testCtx, *this, shaderFrag, GL_COMPILE_STATUS, GL_TRUE);
1351 verifyProgramParam (m_testCtx, *this, program, GL_LINK_STATUS, GL_TRUE);
1354 verifyProgramParam(m_testCtx, *this, program, GL_VALIDATE_STATUS, GL_TRUE);
1380 verifyShaderParam (m_testCtx, *this, shaderVert, GL_COMPILE_STATUS, GL_TRUE);
1381 verifyShaderParam (m_testCtx, *this, shaderFrag, GL_COMPILE_STATUS, GL_FALSE);
1382 verifyProgramParam (m_testCtx, *this, program, GL_LINK_STATUS, GL_FALSE);
1385 verifyProgramParam(m_testCtx, *this, program, GL_VALIDATE_STATUS, GL_FALSE);
1420 verifyProgramParam(m_testCtx, *this, program, GL_ATTACHED_SHADERS, 0);
1424 verifyProgramParam(m_testCtx, *this, program, GL_ATTACHED_SHADERS, 1);
1428 verifyProgramParam(m_testCtx, *this, program, GL_ATTACHED_SHADERS, 2);
1439 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected 2; got " << count << TestLog::EndMessage;
1440 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1441 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong shader count");
1447 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected {" << shaderVert << ", " << shaderFrag << "}; got {" << shaders[0] << ", " << shaders[1] << "}" << TestLog::EndMessage;
1448 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1449 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong shader count");
1461 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected 0; got " << count << TestLog::EndMessage;
1462 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1463 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong shader count");
1470 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected 1; got " << count << TestLog::EndMessage;
1471 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1472 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong shader count");
1528 verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_UNIFORMS, 3);
1529 verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_UNIFORM_MAX_LENGTH, (GLint)std::string("uniformNameWithLength23").length() + 1); // including a null terminator
1540 uniformIndices.verifyValidity(m_testCtx);
1550 uniformNameLen.verifyValidity(m_testCtx);
1555 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << referenceLength << "got " << uniformNameLen << TestLog::EndMessage;
1556 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1557 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong uniform name length");
1576 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << referenceLength << "got " << written << TestLog::EndMessage;
1577 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1578 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong uniform name length");
1587 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected 0 got " << written << TestLog::EndMessage;
1588 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1589 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong uniform name length");
1711 if (verifyProgramParam(m_testCtx, *this, program, GL_LINK_STATUS, GL_TRUE))
1716 uniformIndex.verifyValidity(m_testCtx);
1718 verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_TYPE, uniformTypes[ndx].type);
1719 verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_SIZE, uniformTypes[ndx].size);
1720 verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_IS_ROW_MAJOR, uniformTypes[ndx].isRowMajor);
1776 verifyShaderParam (m_testCtx, *this, shaderVert, GL_COMPILE_STATUS, GL_TRUE);
1777 verifyShaderParam (m_testCtx, *this, shaderFrag, GL_COMPILE_STATUS, GL_TRUE);
1778 verifyProgramParam (m_testCtx, *this, program, GL_LINK_STATUS, GL_TRUE);
1780 verifyProgramParam (m_testCtx, *this, program, GL_ACTIVE_UNIFORM_BLOCKS, 2);
1781 verifyProgramParam (m_testCtx, *this, program, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, (GLint)std::string("longlongUniformBlockName").length() + 1); // including a null terminator
1802 uniformIndices.verifyValidity(m_testCtx);
1806 uniformsBlockIndices.verifyValidity(m_testCtx);
1813 m_testCtx.getLog() << TestLog::Message
1816 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1817 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong uniform block index");
1822 verifyActiveUniformBlockParam(m_testCtx, *this, program, longlongUniformBlockIndex, GL_UNIFORM_BLOCK_NAME_LENGTH, (GLint)std::string("longlongUniformBlockName").length() + 1); // including null-terminator
1823 verifyActiveUniformBlockParam(m_testCtx, *this, program, shortUniformBlockIndex, GL_UNIFORM_BLOCK_NAME_LENGTH, (GLint)std::string("shortUniformBlockName").length() + 1); // including null-terminator
1828 verifyActiveUniformBlockParam(m_testCtx, *this, program, longlongUniformBlockIndex, GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER, GL_TRUE);
1829 verifyActiveUniformBlockParam(m_testCtx, *this, program, longlongUniformBlockIndex, GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER, GL_TRUE);
1830 verifyActiveUniformBlockParam(m_testCtx, *this, program, shortUniformBlockIndex, GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER, GL_TRUE);
1831 verifyActiveUniformBlockParam(m_testCtx, *this, program, shortUniformBlockIndex, GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER, GL_FALSE);
1836 verifyActiveUniformBlockParam(m_testCtx, *this, program, longlongUniformBlockIndex, GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, 1);
1837 verifyActiveUniformBlockParam(m_testCtx, *this, program, shortUniformBlockIndex, GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, 2);
1845 longlongUniformBlockUniforms.verifyValidity(m_testCtx);
1851 longlongUniformBlockUniformIndices.verifyValidity(m_testCtx);
1856 m_testCtx.getLog() << TestLog::Message
1860 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
1861 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong uniform indices");
1873 checkIntEquals(m_testCtx, written, (GLint)std::string("longlongUniformBlockName").length());
1877 checkIntEquals(m_testCtx, written, (GLint)std::string("shortUniformBlockName").length());
1882 checkIntEquals(m_testCtx, written, 0);
1922 verifyProgramParam(m_testCtx, *this, program, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_FALSE);
1930 verifyProgramParam(m_testCtx, *this, program, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_TRUE);
1937 programLength.verifyValidity(m_testCtx);
1978 verifyProgramParam(m_testCtx, *this, shaderProg, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_INTERLEAVED_ATTRIBS);
1986 verifyShaderParam(m_testCtx, *this, shaderVert, GL_COMPILE_STATUS, GL_TRUE);
1987 verifyShaderParam(m_testCtx, *this, shaderFrag, GL_COMPILE_STATUS, GL_TRUE);
2004 verifyProgramParam(m_testCtx, *this, shaderProg, GL_LINK_STATUS, GL_TRUE);
2005 verifyProgramParam(m_testCtx, *this, shaderProg, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, bufferModes[ndx]);
2009 verifyProgramParam(m_testCtx, *this, shaderProg, GL_TRANSFORM_FEEDBACK_VARYINGS, 2);
2016 maxOutputLen.verifyValidity(m_testCtx);
2019 checkIntEquals(m_testCtx, maxOutputLen, referenceLength);
2039 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected null terminator" << TestLog::EndMessage;
2040 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
2041 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid string terminator");
2049 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected 0; got " << written << TestLog::EndMessage;
2050 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
2051 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid write length");
2108 verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_ATTRIBUTES, 2);
2109 verifyProgramParam(m_testCtx, *this, program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, (GLint)std::string("longInputAttributeName").length() + 1); // does include null-terminator
2124 checkIntEquals(m_testCtx, written, (GLint)std::string("longInputAttributeName").length()); // does NOT include null-terminator
2128 checkIntEquals(m_testCtx, written, (GLint)std::string("shortName").length()); // does NOT include null-terminator
2132 m_testCtx.getLog() << TestLog::Message << "// ERROR: Got unexpected attribute name." << TestLog::EndMessage;
2133 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
2134 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got unexpected name");
2148 checkIntEquals(m_testCtx, written, 0);
2205 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_SIZE, pointers[ndx].size);
2223 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_SIZE, 4);
2236 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_SIZE, pointers[1].size);
2241 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_SIZE, pointers[0].size);
2293 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_TYPE, pointers[ndx].type);
2314 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_TYPE, pointers[ndx].type);
2333 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_FLOAT);
2346 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_SHORT);
2351 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_FLOAT);
2409 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_STRIDE, pointers[ndx].stride);
2433 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_STRIDE, pointers[ndx].stride);
2452 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_STRIDE, 0);
2465 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_STRIDE, 8);
2470 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_STRIDE, 4);
2527 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, pointers[ndx].normalized);
2548 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_FALSE);
2567 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_FALSE);
2580 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_FALSE);
2585 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_TRUE);
2637 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_FALSE);
2658 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_TRUE);
2677 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_FALSE);
2690 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_FALSE);
2695 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_TRUE);
2725 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_FALSE);
2727 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_TRUE);
2729 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_FALSE);
2752 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_FALSE);
2757 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_TRUE);
2784 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, 0);
2786 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, 1);
2788 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, 5);
2811 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, 5);
2816 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, 1);
2844 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, 0);
2854 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, bufferID);
2886 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, bufs[1]);
2891 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, bufs[0]);
2921 initialState.verifyValidity(m_testCtx);
2922 checkPointerEquals(m_testCtx, initialState, 0);
2947 state.verifyValidity(m_testCtx);
2948 checkPointerEquals(m_testCtx, state, pointers[ndx].pointer);
2981 state.verifyValidity(m_testCtx);
2982 checkPointerEquals(m_testCtx, state, glu::BufferOffsetAsPointer(4));
2991 state.verifyValidity(m_testCtx);
2992 checkPointerEquals(m_testCtx, state, glu::BufferOffsetAsPointer(8));
3052 verifyUniformValue1f(m_testCtx, *this, program, location, 1.0f);
3056 verifyUniformValue2f(m_testCtx, *this, program, location, 1.0f, 2.0f);
3060 verifyUniformValue3f(m_testCtx, *this, program, location, 1.0f, 2.0f, 3.0f);
3064 verifyUniformValue4f(m_testCtx, *this, program, location, 1.0f, 2.0f, 3.0f, 4.0f);
3123 verifyUniformValue1i(m_testCtx, *this, program, location, 1);
3127 verifyUniformValue2i(m_testCtx, *this, program, location, 1, 2);
3131 verifyUniformValue3i(m_testCtx, *this, program, location, 1, 2, 3);
3135 verifyUniformValue4i(m_testCtx, *this, program, location, 1, 2, 3, 4);
3194 verifyUniformValue1ui(m_testCtx, *this, program, location, 1);
3198 verifyUniformValue2ui(m_testCtx, *this, program, location, 1, 2);
3202 verifyUniformValue3ui(m_testCtx, *this, program, location, 1, 2, 3);
3206 verifyUniformValue4ui(m_testCtx, *this, program, location, 1, 2, 3, 4);
3268 verifyUniformValue1i(m_testCtx, *this, program, location, 1);
3272 verifyUniformValue2i(m_testCtx, *this, program, location, 1, 1);
3276 verifyUniformValue3i(m_testCtx, *this, program, location, 0, 1, 1);
3280 verifyUniformValue4i(m_testCtx, *this, program, location, 1, 0, 1, 1);
3286 verifyUniformValue1i(m_testCtx, *this, program, location, 1);
3290 verifyUniformValue2i(m_testCtx, *this, program, location, 1, 1);
3294 verifyUniformValue3i(m_testCtx, *this, program, location, 0, 1, 1);
3298 verifyUniformValue4i(m_testCtx, *this, program, location, 1, 0, 1, 1);
3354 verifyUniformValue1i(m_testCtx, *this, program, location, 1);
3428 verifyUniformValue1f(m_testCtx, *this, program, glGetUniformLocation(program,"arrayUniform[0]"), uniformValue[0]);
3429 verifyUniformValue1f(m_testCtx, *this, program, glGetUniformLocation(program,"arrayUniform[1]"), uniformValue[1]);
3430 verifyUniformValue1f(m_testCtx, *this, program, glGetUniformLocation(program,"arrayUniform[2]"), uniformValue[2]);
3431 verifyUniformValue1f(m_testCtx, *this, program, glGetUniformLocation(program,"arrayUniform[3]"), uniformValue[3]);
3432 verifyUniformValue1f(m_testCtx, *this, program, glGetUniformLocation(program,"arrayUniform[4]"), uniformValue[4]);
3439 verifyUniformValue2f(m_testCtx, *this, program, glGetUniformLocation(program,"array2Uniform[0]"), uniformValue[2 * 0], uniformValue[(2 * 0) + 1]);
3440 verifyUniformValue2f(m_testCtx, *this, program, glGetUniformLocation(program,"array2Uniform[1]"), uniformValue[2 * 1], uniformValue[(2 * 1) + 1]);
3441 verifyUniformValue2f(m_testCtx, *this, program, glGetUniformLocation(program,"array2Uniform[2]"), uniformValue[2 * 2], uniformValue[(2 * 2) + 1]);
3442 verifyUniformValue2f(m_testCtx, *this, program, glGetUniformLocation(program,"array2Uniform[3]"), uniformValue[2 * 3], uniformValue[(2 * 3) + 1]);
3443 verifyUniformValue2f(m_testCtx, *this, program, glGetUniformLocation(program,"array2Uniform[4]"), uniformValue[2 * 4], uniformValue[(2 * 4) + 1]);
3450 verifyUniformValue3f(m_testCtx, *this, program, glGetUniformLocation(program,"array3Uniform[0]"), uniformValue[3 * 0], uniformValue[(3 * 0) + 1], uniformValue[(3 * 0) + 2]);
3451 verifyUniformValue3f(m_testCtx, *this, program, glGetUniformLocation(program,"array3Uniform[1]"), uniformValue[3 * 1], uniformValue[(3 * 1) + 1], uniformValue[(3 * 1) + 2]);
3452 verifyUniformValue3f(m_testCtx, *this, program, glGetUniformLocation(program,"array3Uniform[2]"), uniformValue[3 * 2], uniformValue[(3 * 2) + 1], uniformValue[(3 * 2) + 2]);
3453 verifyUniformValue3f(m_testCtx, *this, program, glGetUniformLocation(program,"array3Uniform[3]"), uniformValue[3 * 3], uniformValue[(3 * 3) + 1], uniformValue[(3 * 3) + 2]);
3454 verifyUniformValue3f(m_testCtx, *this, program, glGetUniformLocation(program,"array3Uniform[4]"), uniformValue[3 * 4], uniformValue[(3 * 4) + 1], uniformValue[(3 * 4) + 2]);
3461 verifyUniformValue4f(m_testCtx, *this, program, glGetUniformLocation(program,"array4Uniform[0]"), uniformValue[4 * 0], uniformValue[(4 * 0) + 1], uniformValue[(4 * 0) + 2], uniformValue[(4 * 0) + 3]);
3462 verifyUniformValue4f(m_testCtx, *this, program, glGetUniformLocation(program,"array4Uniform[1]"), uniformValue[4 * 1], uniformValue[(4 * 1) + 1], uniformValue[(4 * 1) + 2], uniformValue[(4 * 1) + 3]);
3463 verifyUniformValue4f(m_testCtx, *this, program, glGetUniformLocation(program,"array4Uniform[2]"), uniformValue[4 * 2], uniformValue[(4 * 2) + 1], uniformValue[(4 * 2) + 2], uniformValue[(4 * 2) + 3]);
3464 verifyUniformValue4f(m_testCtx, *this, program, glGetUniformLocation(program,"array4Uniform[3]"), uniformValue[4 * 3], uniformValue[(4 * 3) + 1], uniformValue[(4 * 3) + 2], uniformValue[(4 * 3) + 3]);
3465 verifyUniformValue4f(m_testCtx, *this, program, glGetUniformLocation(program,"array4Uniform[4]"), uniformValue[4 * 4], uniformValue[(4 * 4) + 1], uniformValue[(4 * 4) + 2], uniformValue[(4 * 4) + 3]);
3534 verifyUniformMatrixValues<2>(m_testCtx, *this, program, location, matrixValues, false);
3536 verifyUniformMatrixValues<2>(m_testCtx, *this, program, location, matrixValues, true);
3540 verifyUniformMatrixValues<3>(m_testCtx, *this, program, location, matrixValues, false);
3542 verifyUniformMatrixValues<3>(m_testCtx, *this, program, location, matrixValues, true);
3546 verifyUniformMatrixValues<4>(m_testCtx, *this, program, location, matrixValues, false);
3548 verifyUniformMatrixValues<4>(m_testCtx, *this, program, location, matrixValues, true);
3588 if (!range.verifyValidity(m_testCtx))
3590 if (!precision.verifyValidity(m_testCtx))
3642 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid precision/range");