In verifyTexStorageVirtualPageSizeIndexError, the test call
texStorage with a VIRTUAL_PAGE_SIZE_INDEX texture parameter set
to NUM_VIRTUAL_PAGE_SIZES + 1.
However the verifyError after the texStorage expect GL_NO_ERROR.
It should be GL_INVALID_OPERATION
Affects:
KHR-GL45.sparse_texture_tests.*
Components: OpenGL
VK-GL-CTS issue: 436
Change-Id: I43d02dcbee4bbe2c81feb4a17e9fde7386375656
depth = SparseTextureUtils::getTargetDepth(target);
Texture::Storage(gl, target, 1, format, 8, 8, depth);
- if (!SparseTextureUtils::verifyError(mLog, "TexStorage", gl.getError(), GL_NO_ERROR))
+ if (!SparseTextureUtils::verifyError(mLog, "TexStorage", gl.getError(), GL_INVALID_OPERATION))
{
Texture::Delete(gl, texture);
return false;