|
|
|
@ -625,7 +625,9 @@ void ImageTest::constructCompressedUnknownImplementationSpecificBlockSize() { |
|
|
|
void ImageTest::constructCompressedInvalidBlockSize() { |
|
|
|
void ImageTest::constructCompressedInvalidBlockSize() { |
|
|
|
CORRADE_SKIP_IF_NO_ASSERT(); |
|
|
|
CORRADE_SKIP_IF_NO_ASSERT(); |
|
|
|
|
|
|
|
|
|
|
|
/* This is all okay */ |
|
|
|
/* This is all okay. In particular, it's also completely fine that the Y
|
|
|
|
|
|
|
|
and Z size is more than 1 for 1D and 2D. */ |
|
|
|
|
|
|
|
CompressedImage1D{CompressedPixelStorage{}, 666, {4, 5, 6}, 8, 1, Containers::Array<char>{NoInit, 8}}; |
|
|
|
CompressedImage2D{CompressedPixelStorage{}, 666, {4, 5, 6}, 8, {1, 1}, Containers::Array<char>{NoInit, 8}}; |
|
|
|
CompressedImage2D{CompressedPixelStorage{}, 666, {4, 5, 6}, 8, {1, 1}, Containers::Array<char>{NoInit, 8}}; |
|
|
|
CompressedImage2D{CompressedPixelStorage{} |
|
|
|
CompressedImage2D{CompressedPixelStorage{} |
|
|
|
.setCompressedBlockSize({4, 5, 6}) |
|
|
|
.setCompressedBlockSize({4, 5, 6}) |
|
|
|
|