Lines Matching refs:GL_INVALID_OPERATION
85 m_log << TestLog::Message << "// Shader compiler not supported, always expect GL_INVALID_OPERATION" << TestLog::EndMessage;
91 expectError(shaderCompilerSupported ? GL_INVALID_VALUE : GL_INVALID_OPERATION);
97 expectError(shaderCompilerSupported ? GL_INVALID_VALUE : GL_INVALID_OPERATION);
100 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if shader is not a shader object.");
103 expectError(GL_INVALID_OPERATION);
114 m_log << TestLog::Message << "// Shader compiler not supported, always expect GL_INVALID_OPERATION" << TestLog::EndMessage;
120 expectError(shaderCompilerSupported ? GL_INVALID_VALUE : GL_INVALID_OPERATION);
123 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if shader is not a shader object.");
126 expectError(GL_INVALID_OPERATION);
164 expectError(shaderBinarySupported ? GL_INVALID_VALUE : GL_INVALID_OPERATION);
170 expectError(GL_INVALID_OPERATION, GL_INVALID_VALUE);
172 expectError(GL_INVALID_OPERATION, GL_INVALID_VALUE);
175 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if any value in shaders is not a shader object.");
177 expectError(GL_INVALID_OPERATION, GL_INVALID_VALUE);
180 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if there is more than one vertex shader object handle or more than one fragment shader object handle in shaders.");
184 expectError(GL_INVALID_OPERATION, GL_INVALID_VALUE);
200 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object.");
202 expectError(GL_INVALID_OPERATION);
205 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if shader is not a shader object.");
207 expectError(GL_INVALID_OPERATION);
209 expectError(GL_INVALID_OPERATION);
221 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if shader is already attached to program, or if another shader object of the same type as shader is already attached to program.");
225 expectError(GL_INVALID_OPERATION);
227 expectError(GL_INVALID_OPERATION);
248 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object.");
250 expectError(GL_INVALID_OPERATION);
253 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if shader is not a shader object.");
255 expectError(GL_INVALID_OPERATION);
257 expectError(GL_INVALID_OPERATION);
260 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if shader is not attached to program.");
262 expectError(GL_INVALID_OPERATION);
277 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object.");
279 expectError(GL_INVALID_OPERATION);
293 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object.");
295 expectError(GL_INVALID_OPERATION);
319 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object.");
321 expectError(GL_INVALID_OPERATION);
343 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program has not been successfully linked.");
346 expectError(GL_INVALID_OPERATION);
359 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object.");
361 expectError(GL_INVALID_OPERATION);
374 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program has not been successfully linked.");
376 expectError(GL_INVALID_OPERATION);
385 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object.");
387 expectError(GL_INVALID_OPERATION);
405 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if name starts with the reserved prefix \"gl_\".");
407 expectError(GL_INVALID_OPERATION);
415 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object.");
417 expectError(GL_INVALID_OPERATION);
433 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object.");
435 expectError(GL_INVALID_OPERATION);
461 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object.");
463 expectError(GL_INVALID_OPERATION);
474 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if a shader compiler is not supported.");
476 expectError(shaderCompilerSupported ? GL_NONE : GL_INVALID_OPERATION);
484 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if there is no current program object.");
487 expectError(GL_INVALID_OPERATION);
489 expectError(GL_INVALID_OPERATION);
491 expectError(GL_INVALID_OPERATION);
493 expectError(GL_INVALID_OPERATION);
510 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if the size of the uniform variable declared in the shader does not match the size indicated by the glUniform command.");
513 expectError(GL_INVALID_OPERATION);
515 expectError(GL_INVALID_OPERATION);
517 expectError(GL_INVALID_OPERATION);
522 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if one of the floating-point variants of this function is used to load a uniform variable of type int, ivec2, ivec3, or ivec4.");
525 expectError(GL_INVALID_OPERATION);
528 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if a sampler is loaded using a command other than glUniform1i and glUniform1iv.");
531 expectError(GL_INVALID_OPERATION);
541 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if location is an invalid uniform location for the current program object and location is not equal to -1.");
544 expectError(GL_INVALID_OPERATION);
546 expectError(GL_INVALID_OPERATION);
548 expectError(GL_INVALID_OPERATION);
550 expectError(GL_INVALID_OPERATION);
572 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if there is no current program object.");
575 expectError(GL_INVALID_OPERATION);
577 expectError(GL_INVALID_OPERATION);
579 expectError(GL_INVALID_OPERATION);
581 expectError(GL_INVALID_OPERATION);
600 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if the size of the uniform variable declared in the shader does not match the size indicated by the glUniform command.");
603 expectError(GL_INVALID_OPERATION);
605 expectError(GL_INVALID_OPERATION);
607 expectError(GL_INVALID_OPERATION);
612 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if one of the floating-point variants of this function is used to load a uniform variable of type int, ivec2, ivec3, or ivec4.");
615 expectError(GL_INVALID_OPERATION);
618 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if a sampler is loaded using a command other than glUniform1i and glUniform1iv.");
621 expectError(GL_INVALID_OPERATION);
633 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if location is an invalid uniform location for the current program object and location is not equal to -1.");
636 expectError(GL_INVALID_OPERATION);
638 expectError(GL_INVALID_OPERATION);
640 expectError(GL_INVALID_OPERATION);
642 expectError(GL_INVALID_OPERATION);
671 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if count is greater than 1 and the indicated uniform variable is not an array variable.");
674 expectError(GL_INVALID_OPERATION);
676 expectError(GL_INVALID_OPERATION);
678 expectError(GL_INVALID_OPERATION);
680 expectError(GL_INVALID_OPERATION);
690 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if there is no current program object.");
693 expectError(GL_INVALID_OPERATION);
695 expectError(GL_INVALID_OPERATION);
697 expectError(GL_INVALID_OPERATION);
699 expectError(GL_INVALID_OPERATION);
716 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if the size of the uniform variable declared in the shader does not match the size indicated by the glUniform command.");
719 expectError(GL_INVALID_OPERATION);
721 expectError(GL_INVALID_OPERATION);
723 expectError(GL_INVALID_OPERATION);
728 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if one of the integer variants of this function is used to load a uniform variable of type float, vec2, vec3, or vec4.");
731 expectError(GL_INVALID_OPERATION);
741 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if location is an invalid uniform location for the current program object and location is not equal to -1.");
744 expectError(GL_INVALID_OPERATION);
746 expectError(GL_INVALID_OPERATION);
748 expectError(GL_INVALID_OPERATION);
750 expectError(GL_INVALID_OPERATION);
772 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if there is no current program object.");
775 expectError(GL_INVALID_OPERATION);
777 expectError(GL_INVALID_OPERATION);
779 expectError(GL_INVALID_OPERATION);
781 expectError(GL_INVALID_OPERATION);
800 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if the size of the uniform variable declared in the shader does not match the size indicated by the glUniform command.");
803 expectError(GL_INVALID_OPERATION);
805 expectError(GL_INVALID_OPERATION);
807 expectError(GL_INVALID_OPERATION);
812 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if one of the integer variants of this function is used to load a uniform variable of type float, vec2, vec3, or vec4.");
815 expectError(GL_INVALID_OPERATION);
827 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if location is an invalid uniform location for the current program object and location is not equal to -1.");
830 expectError(GL_INVALID_OPERATION);
832 expectError(GL_INVALID_OPERATION);
834 expectError(GL_INVALID_OPERATION);
836 expectError(GL_INVALID_OPERATION);
865 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if count is greater than 1 and the indicated uniform variable is not an array variable.");
868 expectError(GL_INVALID_OPERATION);
870 expectError(GL_INVALID_OPERATION);
872 expectError(GL_INVALID_OPERATION);
874 expectError(GL_INVALID_OPERATION);
886 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if there is no current program object.");
889 expectError(GL_INVALID_OPERATION);
891 expectError(GL_INVALID_OPERATION);
893 expectError(GL_INVALID_OPERATION);
913 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if the size of the uniform variable declared in the shader does not match the size indicated by the glUniform command.");
916 expectError(GL_INVALID_OPERATION);
918 expectError(GL_INVALID_OPERATION);
923 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if a sampler is loaded using a command other than glUniform1i and glUniform1iv.");
926 expectError(GL_INVALID_OPERATION);
940 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if location is an invalid uniform location for the current program object and location is not equal to -1.");
943 expectError(GL_INVALID_OPERATION);
945 expectError(GL_INVALID_OPERATION);
947 expectError(GL_INVALID_OPERATION);
977 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if count is greater than 1 and the indicated uniform variable is not an array variable.");
980 expectError(GL_INVALID_OPERATION);
982 expectError(GL_INVALID_OPERATION);
984 expectError(GL_INVALID_OPERATION);