|
|
|
@ -969,9 +969,16 @@ void TextureArrayGLTest::subImage1DQueryBuffer() { |
|
|
|
MAGNUM_VERIFY_NO_ERROR(); |
|
|
|
MAGNUM_VERIFY_NO_ERROR(); |
|
|
|
|
|
|
|
|
|
|
|
CORRADE_COMPARE(image.size(), Vector2i{2}); |
|
|
|
CORRADE_COMPARE(image.size(), Vector2i{2}); |
|
|
|
CORRADE_COMPARE_AS(Containers::arrayCast<UnsignedByte>(imageData).suffix(PixelStorage1DData[testCaseInstanceId()].offset), |
|
|
|
|
|
|
|
PixelStorage1DData[testCaseInstanceId()].data, |
|
|
|
{ |
|
|
|
TestSuite::Compare::Container); |
|
|
|
CORRADE_EXPECT_FAIL_IF(Context::current().detectedDriver() & Context::DetectedDriver::NVidia, |
|
|
|
|
|
|
|
"Broken on NVidia since May 2017 (verified on 384.59, broken since 370.xx)."); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CORRADE_COMPARE_AS(Containers::arrayCast<UnsignedByte>(imageData).suffix(PixelStorage1DData[testCaseInstanceId()].offset), |
|
|
|
|
|
|
|
PixelStorage1DData[testCaseInstanceId()].data, |
|
|
|
|
|
|
|
TestSuite::Compare::Container); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void TextureArrayGLTest::compressedImage1D() { |
|
|
|
void TextureArrayGLTest::compressedImage1D() { |
|
|
|
|