Lines Matching refs:GL_INVALID_OPERATION

164 			m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if texture was previously created with a target that doesn't match that of target.");
168 expectError(GL_INVALID_OPERATION);
170 expectError(GL_INVALID_OPERATION);
172 expectError(GL_INVALID_OPERATION);
177 expectError(GL_INVALID_OPERATION);
179 expectError(GL_INVALID_OPERATION);
181 expectError(GL_INVALID_OPERATION);
407 GLenum error = isES ? GL_INVALID_VALUE : GL_INVALID_OPERATION;
485 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and the buffer object's data store is currently mapped.");
488 expectError (GL_INVALID_OPERATION);
492 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer object such that the memory reads required would exceed the data store size.");
494 expectError (GL_INVALID_OPERATION);
1045 expectError(GL_INVALID_OPERATION);
1055 expectError(GL_INVALID_OPERATION);
1060 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the zero level array is stored in a compressed internal format.");
1064 expectError(GL_INVALID_OPERATION);
1067 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the level base array was not specified with an unsized internal format or a sized internal format that is both color-renderable and texture-filterable.");
1070 expectError(GL_INVALID_OPERATION);
1073 expectError(GL_INVALID_OPERATION);
1079 expectError(GL_INVALID_OPERATION);
1149 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the combination of internalFormat, format and type is invalid.");
1151 expectError(GL_INVALID_OPERATION);
1153 expectError(GL_INVALID_OPERATION);
1155 expectError(GL_INVALID_OPERATION);
1159 expectError(GL_INVALID_OPERATION);
1161 expectError(GL_INVALID_OPERATION);
1403 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and...");
1407 expectError (GL_INVALID_OPERATION);
1413 expectError (GL_INVALID_OPERATION);
1419 expectError (GL_INVALID_OPERATION);
1452 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if the combination of internalFormat of the previously specified texture array, format and type is not valid.");
1454 expectError(GL_INVALID_OPERATION);
1456 expectError(GL_INVALID_OPERATION);
1458 expectError(GL_INVALID_OPERATION);
1460 expectError(GL_INVALID_OPERATION);
1462 expectError(GL_INVALID_OPERATION);
1466 expectError(GL_INVALID_OPERATION);
1595 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and...");
1599 expectError (GL_INVALID_OPERATION);
1605 expectError (GL_INVALID_OPERATION);
1615 expectError (GL_INVALID_OPERATION);
1862 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if format does not match the internal format of the texture image being modified.");
1864 expectError(GL_INVALID_OPERATION);
1867 m_log << TestLog::Section("", "For ETC2/EAC images GL_INVALID_OPERATION is generated if width is not a multiple of four, and width + xoffset is not equal to the width of the texture level.");
1869 expectError(GL_INVALID_OPERATION);
1872 m_log << TestLog::Section("", "For ETC2/EAC images GL_INVALID_OPERATION is generated if height is not a multiple of four, and height + yoffset is not equal to the height of the texture level.");
1874 expectError(GL_INVALID_OPERATION);
1877 m_log << TestLog::Section("", "For ETC2/EAC images GL_INVALID_OPERATION is generated if xoffset or yoffset is not a multiple of four.");
1879 expectError(GL_INVALID_OPERATION);
1881 expectError(GL_INVALID_OPERATION);
1883 expectError(GL_INVALID_OPERATION);
1947 // \note Both GL_INVALID_VALUE and GL_INVALID_OPERATION are valid here since implementation may
1950 m_log << TestLog::Section("", "GL_INVALID_VALUE or GL_INVALID_OPERATION is generated if xoffset or yoffset are negative.");
1953 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
1955 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
1957 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
1971 m_log << TestLog::Section("", "GL_INVALID_VALUE or GL_INVALID_OPERATION is generated if xoffset + width > texture_width or yoffset + height > texture_height.");
1974 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
1976 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
1978 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
1991 m_log << TestLog::Section("", "GL_INVALID_VALUE or GL_INVALID_OPERATION is generated if width or height is less than 0.");
1993 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
1995 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
1997 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2034 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and...");
2038 expectError (GL_INVALID_OPERATION);
2044 expectError (GL_INVALID_OPERATION);
2074 "or GL_INVALID_OPERATION is generated if internalformat, format and type are not compatible.");
2076 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2079 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if target is GL_TEXTURE_3D and format is GL_DEPTH_COMPONENT, or GL_DEPTH_STENCIL.");
2081 expectError(GL_INVALID_OPERATION);
2083 expectError(GL_INVALID_OPERATION);
2086 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the combination of internalFormat, format and type is invalid.");
2088 expectError(GL_INVALID_OPERATION);
2090 expectError(GL_INVALID_OPERATION);
2092 expectError(GL_INVALID_OPERATION);
2096 expectError(GL_INVALID_OPERATION);
2098 expectError(GL_INVALID_OPERATION);
2201 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and...");
2206 expectError (GL_INVALID_OPERATION);
2212 expectError (GL_INVALID_OPERATION);
2218 expectError (GL_INVALID_OPERATION);
2254 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if the combination of internalFormat of the previously specified texture array, format and type is not valid.");
2256 expectError(GL_INVALID_OPERATION);
2258 expectError(GL_INVALID_OPERATION);
2260 expectError(GL_INVALID_OPERATION);
2262 expectError(GL_INVALID_OPERATION);
2266 expectError(GL_INVALID_OPERATION);
2399 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and...");
2404 expectError (GL_INVALID_OPERATION);
2410 expectError (GL_INVALID_OPERATION);
2420 expectError (GL_INVALID_OPERATION);
2643 GLenum error = isES ? GL_INVALID_VALUE : GL_INVALID_OPERATION;
2675 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and the buffer object's data store is currently mapped.");
2678 expectError (GL_INVALID_OPERATION);
2682 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer object such that the memory reads required would exceed the data store size.");
2684 expectError (GL_INVALID_OPERATION);
2704 const GLuint requiredError = m_context.getContextInfo().isExtensionSupported("GL_KHR_texture_compression_astc_ldr") ? GL_INVALID_OPERATION : GL_INVALID_ENUM;
2706 if (requiredError == GL_INVALID_OPERATION)
2707 m_log.writeMessage("GL_INVALID_OPERATION should be generated if using TEXTURE_3D with LDR ASTC.");
2740 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if format does not match the internal format of the texture image being modified.");
2742 expectError(GL_INVALID_OPERATION);
2745 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if internalformat is an ETC2/EAC format and target is not GL_TEXTURE_2D_ARRAY.");
2747 expectError(GL_INVALID_OPERATION);
2750 m_log << TestLog::Section("", "For ETC2/EAC images GL_INVALID_OPERATION is generated if width is not a multiple of four, and width + xoffset is not equal to the width of the texture level.");
2752 expectError(GL_INVALID_OPERATION);
2755 m_log << TestLog::Section("", "For ETC2/EAC images GL_INVALID_OPERATION is generated if height is not a multiple of four, and height + yoffset is not equal to the height of the texture level.");
2757 expectError(GL_INVALID_OPERATION);
2760 m_log << TestLog::Section("", "For ETC2/EAC images GL_INVALID_OPERATION is generated if xoffset or yoffset is not a multiple of four.");
2762 expectError(GL_INVALID_OPERATION);
2764 expectError(GL_INVALID_OPERATION);
2766 expectError(GL_INVALID_OPERATION);
2810 m_log << TestLog::Section("", "GL_INVALID_VALUE or GL_INVALID_OPERATION is generated if xoffset, yoffset or zoffset are negative.");
2812 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2814 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2816 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2818 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2831 m_log << TestLog::Section("", "GL_INVALID_VALUE or GL_INVALID_OPERATION is generated if xoffset + width > texture_width or yoffset + height > texture_height.");
2834 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2836 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2838 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2840 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2853 m_log << TestLog::Section("", "GL_INVALID_VALUE or GL_INVALID_OPERATION is generated if width, height or depth are negative.");
2855 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2857 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2859 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2861 expectError(GL_INVALID_VALUE, GL_INVALID_OPERATION);
2899 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and...");
2903 expectError (GL_INVALID_OPERATION);
2909 expectError (GL_INVALID_OPERATION);
2957 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the default texture object is curently bound to target.");
2959 expectError (GL_INVALID_OPERATION);
2966 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the texture object currently bound to target already has GL_TEXTURE_IMMUTABLE_FORMAT set to GL_TRUE.");
2975 expectError (GL_INVALID_OPERATION);
2993 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if levels is greater than floor(log_2(max(width, height))) + 1");
2996 expectError (GL_INVALID_OPERATION);
2998 expectError (GL_INVALID_OPERATION);
3000 expectError (GL_INVALID_OPERATION);
3092 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the default texture object is curently bound to target.");
3094 expectError (GL_INVALID_OPERATION);
3101 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the texture object currently bound to target already has GL_TEXTURE_IMMUTABLE_FORMAT set to GL_TRUE.");
3110 expectError (GL_INVALID_OPERATION);
3128 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if levels is greater than floor(log_2(max(width, height, depth))) + 1");
3131 expectError (GL_INVALID_OPERATION);
3133 expectError (GL_INVALID_OPERATION);
3135 expectError (GL_INVALID_OPERATION);
3137 expectError (GL_INVALID_OPERATION);
3163 m_log.writeMessage("GL_INVALID_OPERATION should be generated if using TEXTURE_3D with LDR.");
3181 expectError(GL_INVALID_OPERATION);