Browse Source

Vk: even this offset was not enough, heh.

I wonder what the RTX3k cards would say about this test.
pull/234/head
Vladimír Vondruš 6 years ago
parent
commit
3efe98a638
  1. 5
      src/Magnum/Vk/Test/ImageVkTest.cpp

5
src/Magnum/Vk/Test/ImageVkTest.cpp

@ -222,8 +222,9 @@ void ImageVkTest::bindMemory() {
MemoryRequirements requirements = image.memoryRequirements();
/* We're testing the offset, so ensure what we hardcode is correctly
aligned */
constexpr UnsignedLong offset = 4096;
aligned. For Intel 1 kB was enough, SwiftShader wanted 4 kB, AMD wants
128 kB. */
constexpr UnsignedLong offset = 128*1024;
CORRADE_COMPARE_AS(offset, requirements.alignment(),
TestSuite::Compare::Divisible);

Loading…
Cancel
Save