Lines Matching defs:index

119 void verifyActiveUniformParam  (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLuint index, GLenum pname, GLenum reference)
122 gl.glGetActiveUniformsiv(program, 1, &index, pname, &state);
137 void verifyCurrentVertexAttribf (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
142 gl.glGetVertexAttribfv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue);
157 void verifyCurrentVertexAttribIi (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLint index, GLint x, GLint y, GLint z, GLint w)
162 gl.glGetVertexAttribIiv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue);
177 void verifyCurrentVertexAttribIui (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLint index, GLuint x, GLuint y, GLuint z, GLuint w)
182 gl.glGetVertexAttribIuiv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue);
197 void verifyCurrentVertexAttribConversion (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
202 gl.glGetVertexAttribiv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue);
248 void verifyVertexAttrib (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLint index, GLenum pname, GLenum reference)
251 gl.glGetVertexAttribIiv(index, pname, &state);
626 testCtx.getLog() << TestLog::Message << "// ERROR: at index " << ndx << " expected " << values[ndx] << "; got " << state[ndx] << TestLog::EndMessage;
653 testCtx.getLog() << TestLog::Message << "// ERROR: at index [" << y << "][" << x << "] expected " << values[refIndex] << "; got " << state[stateIndex] << TestLog::EndMessage;
982 for (int index = 0; index < attribute_count; ++index)
985 glGetVertexAttribfv(index, GL_CURRENT_VERTEX_ATTRIB, attribValue);
1020 for (int index = 0; index < attribute_count; ++index)
1027 glVertexAttrib4f(index, x, y, z, w);
1028 verifyCurrentVertexAttribf(m_testCtx, *this, index, x, y, z, w);
1030 for (int index = 0; index < attribute_count; ++index)
1037 glVertexAttrib3f(index, x, y, z);
1038 verifyCurrentVertexAttribf(m_testCtx, *this, index, x, y, z, w);
1040 for (int index = 0; index < attribute_count; ++index)
1047 glVertexAttrib2f(index, x, y);
1048 verifyCurrentVertexAttribf(m_testCtx, *this, index, x, y, z, w);
1050 for (int index = 0; index < attribute_count; ++index)
1057 glVertexAttrib1f(index, x);
1058 verifyCurrentVertexAttribf(m_testCtx, *this, index, x, y, z, w);
1082 for (int index = 0; index < attribute_count; ++index)
1089 glVertexAttribI4i(index, x, y, z, w);
1090 verifyCurrentVertexAttribIi(m_testCtx, *this, index, x, y, z, w);
1114 for (int index = 0; index < attribute_count; ++index)
1121 glVertexAttribI4ui(index, x, y, z, w);
1122 verifyCurrentVertexAttribIui(m_testCtx, *this, index, x, y, z, w);
1146 for (int index = 0; index < attribute_count; ++index)
1153 glVertexAttrib4f(index, x, y, z, w);
1154 verifyCurrentVertexAttribConversion(m_testCtx, *this, index, x, y, z, w);
1156 for (int index = 0; index < attribute_count; ++index)
1163 glVertexAttrib3f(index, x, y, z);
1164 verifyCurrentVertexAttribConversion(m_testCtx, *this, index, x, y, z, w);
1166 for (int index = 0; index < attribute_count; ++index)
1173 glVertexAttrib2f(index, x, y);
1174 verifyCurrentVertexAttribConversion(m_testCtx, *this, index, x, y, z, w);
1176 for (int index = 0; index < attribute_count; ++index)
1183 glVertexAttrib1f(index, x);
1184 verifyCurrentVertexAttribConversion(m_testCtx, *this, index, x, y, z, w);
1267 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected null terminator at index " << written << TestLog::EndMessage;
1290 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected null terminator at index " << written << TestLog::EndMessage;
1817 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong uniform block index");
2028 for (int index = 0; index < varyings; ++index)
2035 glGetTransformFeedbackVarying(shaderProg, index, DE_LENGTH_OF_ARRAY(buffer), &written, &size, &type, buffer);
2046 glGetTransformFeedbackVarying(shaderProg, index, 1, &written, &size, &type, buffer);