Lines Matching defs:error
311 if (glw::GLenum error = gl.getError())
315 << " attachment failed with error value " << glu::getErrorStr(error) << "."
541 /** @brief Check error and log.
548 * @return True if no error, false otherwise.
556 if (glw::GLenum error = gl.getError())
561 << " of texture with " << levels << " levels failed with error value " << glu::getErrorStr(error) << "."
1010 /** @brief Check error and log.
1019 * @return True if no error, false otherwise.
1029 if (glw::GLenum error = gl.getError())
1035 << " layers failed with error value " << glu::getErrorStr(error) << "." << tcu::TestLog::EndMessage;
1408 if (glw::GLenum error = gl.getError())
1412 << glu::getErrorStr(error) << " error with GL_COLOR_ATTACHMENT" << i << ". Test fails."
1426 if (glw::GLenum error = gl.getError())
1430 << glu::getErrorStr(error) << " error with GL_COLOR_ATTACHMENT" << i << ". Test fails."
1463 if (glw::GLenum error = gl.getError())
1467 << glu::getErrorStr(error) << " error with GL_NONE mode. Test fails." << tcu::TestLog::EndMessage;
1474 if (glw::GLenum error = gl.getError())
1478 << glu::getErrorStr(error) << " error with GL_NONE mode. Test fails." << tcu::TestLog::EndMessage;
1621 if (glw::GLenum error = gl.getError())
1625 << glu::getErrorStr(error) << " error. Test fails." << tcu::TestLog::EndMessage;
1672 if (glw::GLenum error = gl.getError())
1676 << glu::getErrorStr(error) << " error with GL_NONE mode. Test fails." << tcu::TestLog::EndMessage;
1885 /** @brief Check error and log.
1889 * @return True if no error, false otherwise.
1896 /* Check error. */
1897 if (glw::GLenum error = gl.getError())
1899 /* There is an error. Log. */
1901 << glu::getErrorStr(error) << " error for attachment "
1911 /** @brief Check error and log.
1916 * @return True if no error, false otherwise.
1923 /* Check error. */
1924 if (glw::GLenum error = gl.getError())
1926 /* There is an error. Log. */
1940 << glu::getErrorStr(error) << " error for following attachments ["
2104 /** @brief Check error and log.
2108 * @return True if no error, false otherwise.
2115 /* Check error. */
2116 if (glw::GLenum error = gl.getError())
2118 /* There is an error. Log. */
2120 << glu::getErrorStr(error) << " error for attachment "
2130 /** @brief Check error and log.
2135 * @return True if no error, false otherwise.
2142 /* Check error. */
2143 if (glw::GLenum error = gl.getError())
2145 /* There is an error. Log. */
2159 << glu::getErrorStr(error) << " error for following attachments ["
2227 if (glw::GLenum error = gl.getError())
2230 << tcu::TestLog::Message << "ClearNamedFramebufferfv unexpectedly generated " << glu::getErrorStr(error)
2231 << " error. Test fails." << tcu::TestLog::EndMessage;
2257 if (glw::GLenum error = gl.getError())
2260 << tcu::TestLog::Message << "ClearNamedFramebufferiv unexpectedly generated " << glu::getErrorStr(error)
2261 << " error. Test fails." << tcu::TestLog::EndMessage;
2287 if (glw::GLenum error = gl.getError())
2290 << tcu::TestLog::Message << "ClearNamedFramebufferuiv unexpectedly generated " << glu::getErrorStr(error)
2291 << " error. Test fails." << tcu::TestLog::EndMessage;
2407 if (glw::GLenum error = gl.getError())
2410 << tcu::TestLog::Message << "ClearNamedFramebufferufi unexpectedly generated " << glu::getErrorStr(error)
2411 << " error. Test fails." << tcu::TestLog::EndMessage;
2888 /** @brief Check error and log.
2890 * @return true if no error, false otherwise.
2898 if (glw::GLenum error = gl.getError())
2902 << glu::getErrorStr(error) << " error." << tcu::TestLog::EndMessage;
3830 if (glw::GLenum error = gl.getError())
3834 << glu::getErrorStr(error) << " error when called with " << pnames_strings[i]
3904 if (glw::GLenum error = gl.getError())
3908 << glu::getErrorStr(error) << " error when called with " << pnames_strings[i]
4260 if (glw::GLenum error = gl.getError())
4264 << glu::getErrorStr(error)
4265 << " error when called with GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE parameter name for "
4316 if (glw::GLenum error = gl.getError())
4320 << glu::getErrorStr(error) << " error when called with " << optional_pnames_strings[i]
4394 if (glw::GLenum error = gl.getError())
4398 << glu::getErrorStr(error)
4399 << " error when called with GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE parameter name for "
4462 if (glw::GLenum error = gl.getError())
4466 << glu::getErrorStr(error) << " error when called with " << optional_pnames_strings[i]
4541 if (glw::GLenum error = gl.getError())
4545 << glu::getErrorStr(error)
4546 << " error when called with GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE parameter name for "
4620 if (glw::GLenum error = gl.getError())
4624 << glu::getErrorStr(error) << " error when called with " << optional_pnames_strings[i]
4736 glw::GLenum error = GL_NO_ERROR;
4738 if (GL_INVALID_VALUE != (error = gl.getError()))
4741 << tcu::TestLog::Message << "CreateFramebuffers generated " << glu::getErrorStr(error)
4742 << " error when called with negative number of framebuffers, but GL_INVALID_VALUE was expected."
4935 /** Check if error is equal to the expected, log if not.
4953 glw::GLenum error = GL_NO_ERROR;
4955 if (expected_error != (error = gl.getError()))
4963 << glu::getErrorStr(error) << " was observed instead." << tcu::TestLog::EndMessage;
5134 /* Check that INVALID_VALUE error is generated by NamedFramebufferTextureLayer if texture is a three-dimensional
5141 /* Check that INVALID_VALUE error is generated by NamedFramebufferTextureLayer if texture is an array texture,
5149 /* Check that INVALID_VALUE error is generated by NamedFramebufferTextureLayer if texture is a cube map array texture,
5151 Check that INVALID_VALUE error is generated by NamedFramebufferTextureLayer if texture is non-zero
5159 /* Check that INVALID_OPERATION error is generated by NamedFramebufferTextureLayer if texture is non-zero
5304 /** Check if error is equal to the expected, log if not.
5324 glw::GLenum error = GL_NO_ERROR;
5326 if (expected_error != (error = gl.getError()))
5333 << " was expected to generate " << glu::getErrorStr(expected_error) << ", but " << glu::getErrorStr(error)
5472 /* Check that INVALID_OPERATION error is generated by
5495 /* Check that INVALID_OPERATION error is generated by
5530 /* Check that INVALID_ENUM error is generated by NamedFramebufferDrawBuffers if any value in bufs is FRONT, LEFT, RIGHT, or FRONT_AND_BACK.
5615 /* Check that INVALID_OPERATION error is generated by NamedFramebufferReadBuffer if the default framebuffer is
5624 /* Check that INVALID_OPERATION error is generated by NamedFramebufferReadBuffer if a framebuffer object is
5741 /** Check if error is equal to the expected, log if not.
5745 * @param [in] conditions Conditions when the expected error shall occure (to be logged).
5747 * @return True if there is no error, false otherwise.
5757 glw::GLenum error = GL_NO_ERROR;
5759 if (expected_error != (error = gl.getError()))
5762 << glu::getErrorStr(expected_error) << ", but " << glu::getErrorStr(error)
5856 /* Check that INVALID_OPERATION error is generated by InvalidateNamedFramebufferData if framebuffer is not zero or the name of an existing framebuffer object. */
5862 /* Check that INVALID_ENUM error is generated by InvalidateNamedFramebufferData if a framebuffer object is affected, and
5871 /* Check that INVALID_OPERATION error is generated by InvalidateNamedFramebufferData if attachments contains COLOR_ATTACHMENTm
5879 /* Check that INVALID_ENUM error is generated by
5896 /* Check that INVALID_OPERATION error is generated by InvalidateNamedFramebufferSubData if framebuffer is not zero or the name of an existing framebuffer object. */
5902 /* Check that INVALID_VALUE error is generated by InvalidateNamedFramebufferSubData if numAttachments, width, or height is negative. */
5915 /* Check that INVALID_ENUM error is generated by InvalidateNamedFramebufferSubData if a framebuffer object is affected, and
5924 /* Check that INVALID_OPERATION error is generated by InvalidateNamedFramebufferSubData if attachments contains COLOR_ATTACHMENTm
5932 /* Check that INVALID_ENUM error is generated by InvalidateNamedFramebufferSubData if the default framebuffer is affected,
6062 /** Check if error is equal to the expected, log if not.
6066 * @param [in] conditions Conditions when the expected error shall occure (to be logged).
6068 * @return True if there is no error, false otherwise.
6078 glw::GLenum error = GL_NO_ERROR;
6080 if (expected_error != (error = gl.getError()))
6083 << glu::getErrorStr(expected_error) << ", but " << glu::getErrorStr(error)
6330 /** Check if error is equal to the expected, log if not.
6334 * @param [in] conditions Conditions when the expected error shall occure (to be logged).
6336 * @return True if there is no error, false otherwise.
6346 glw::GLenum error = GL_NO_ERROR;
6348 if (expected_error != (error = gl.getError()))
6351 << glu::getErrorStr(expected_error) << ", but " << glu::getErrorStr(error)
6529 /** Check if error is equal to the expected, log if not.
6533 * @param [in] conditions Conditions when the expected error shall occure (to be logged).
6535 * @return True if there is no error, false otherwise.
6545 glw::GLenum error = GL_NO_ERROR;
6547 if (expected_error != (error = gl.getError()))
6550 << glu::getErrorStr(expected_error) << ", but " << glu::getErrorStr(error)
6738 /** Check if error is equal to the expected, log if not.
6742 * @param [in] conditions Conditions when the expected error shall occure (to be logged).
6744 * @return True if there is no error, false otherwise.
6754 glw::GLenum error = GL_NO_ERROR;
6756 if (expected_error != (error = gl.getError()))
6759 << glu::getErrorStr(expected_error) << ", but " << glu::getErrorStr(error)
6865 /* Check that INVALID_ENUM error is generated if a framebuffer object is queried, attachment
6898 /* Check that an INVALID_ENUM error is generated if the default framebuffer is
6908 /* Check that an INVALID_OPERATION error is generated if a framebuffer object is
7083 /** Check if error is equal to the expected, log if not.
7087 * @param [in] conditions Conditions when the expected error shall occure (to be logged).
7089 * @return True if there is no error, false otherwise.
7099 glw::GLenum error = GL_NO_ERROR;
7101 if (expected_error != (error = gl.getError()))
7104 << glu::getErrorStr(expected_error) << ", but " << glu::getErrorStr(error)
7242 * @return True if there is no error, false otherwise.
7285 * @return True if there is no error, false otherwise.
7292 /* Failure of this part shall result in test internal error (it does not test the DSA functionality). */
7329 * @return True if there is no error, false otherwise.
7423 << "Shader compilation error log:\n"
7588 * @return True if there is no error in DSA functionality, false otherwise.
8122 * @return True if there is no error, false otherwise.
8141 if (glw::GLenum error = gl.getError())
8145 << glu::getErrorStr(error) << " error value. Renderbuffers format was "
8545 * @return True if there is no error, false otherwise.
8569 if (glw::GLenum error = gl.getError())
8574 << glu::getErrorStr(error) << " error value. Renderbuffers format was "
8585 if (glw::GLenum error = gl.getError())
8590 << glu::getErrorStr(error) << " error value. Renderbuffers format was "
8649 * @return True if there is no error, false otherwise.
9047 if (glw::GLenum error = gl.getError())
9051 << glu::getErrorStr(error) << " error when called with " << pnames_strings[i]
9156 glw::GLenum error = GL_NO_ERROR;
9158 if (GL_INVALID_VALUE != (error = gl.getError()))
9161 << tcu::TestLog::Message << "CreateRenderbuffers generated " << glu::getErrorStr(error)
9162 << " error when called with negative number of renderbuffers, but GL_INVALID_VALUE was expected."
9310 /** Check if error is equal to the expected, log if not.
9314 * @param [in] conditions Conditions when the expected error shall occure (to be logged).
9316 * @return True if there is no error, false otherwise.
9326 glw::GLenum error = GL_NO_ERROR;
9328 if (expected_error != (error = gl.getError()))
9331 << glu::getErrorStr(expected_error) << ", but " << glu::getErrorStr(error)
9516 /** Check if error is equal to the expected, log if not.
9520 * @param [in] conditions Conditions when the expected error shall occure (to be logged).
9522 * @return True if there is no error, false otherwise.
9532 glw::GLenum error = GL_NO_ERROR;
9534 if (expected_error != (error = gl.getError()))
9537 << glu::getErrorStr(expected_error) << ", but " << glu::getErrorStr(error)
9714 /** Check if error is equal to the expected, log if not.
9718 * @param [in] conditions Conditions when the expected error shall occure (to be logged).
9720 * @return True if there is no error, false otherwise.
9730 glw::GLenum error = GL_NO_ERROR;
9732 if (expected_error != (error = gl.getError()))
9735 << glu::getErrorStr(expected_error) << ", but " << glu::getErrorStr(error)