Home | History | Annotate | Download | only in functional

Lines Matching full:shader

99 void verifyShaderParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint shader, GLenum pname, GLenum reference)
102 gl.glGetShaderiv(shader, pname, &state);
506 const GLuint shader = glCreateShader(shaderTypes[ndx]);
507 verifyShaderParam(m_testCtx, *this, shader, GL_SHADER_TYPE, shaderTypes[ndx]);
508 glDeleteShader(shader);
562 const GLuint shader = glCreateShader(GL_VERTEX_SHADER);
563 verifyShaderParam(m_testCtx, *this, shader, GL_INFO_LOG_LENGTH, 0);
565 glShaderSource(shader, 1, &brokenShader, DE_NULL);
566 glCompileShader(shader);
571 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &logLength);
574 glDeleteShader(shader);
579 glDeleteShader(shader);
588 glGetShaderInfoLog(shader, DE_LENGTH_OF_ARRAY(buffer), &written, buffer);
620 glGetShaderInfoLog(shader, 1, &written, buffer);
635 glDeleteShader(shader);
655 const GLuint shader = glCreateShader(GL_VERTEX_SHADER);
656 verifyShaderParam(m_testCtx, *this, shader, GL_SHADER_SOURCE_LENGTH, 0);
660 glShaderSource(shader, 1, &brokenShader, DE_NULL);
664 glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &sourceLength);
680 glShaderSource(shader, 2, shaders, DE_NULL);
684 glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &sourceLength);
703 glGetShaderSource(shader, DE_LENGTH_OF_ARRAY(buffer), &written, buffer);
729 glGetShaderSource(shader, 1, &written, buffer);
745 glDeleteShader(shader);
1072 // test with broken shader
1151 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong shader count");
1159 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong shader count");
1173 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong shader count");
1182 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got wrong shader count");
1366 // gen fragment shader
1787 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Failed to compile shader");
1846 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Failed to compile shader");
1905 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Failed to compile shader");
1982 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Failed to compile shader");
2034 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Failed to compile shader");
2130 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Failed to compile shader");
2217 // special case for highp and fragment shader
2278 : TestCaseGroup(context, "shader", "Shader State Query tests")
2284 // shader
2290 // shader and program