Skip LargeBufferFails test with NVIDIA for enabling Vulkan validation layers on Windows
Fails on NVIDIA cards when Vulkan validation layers are enabled becuase the maximum size of a single allocation cannot be larger than or equal to 4G on some platforms. BUG=dawn:241 Change-Id: I863a2219287d3d363b3013027ba8fc9df846b42d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12141 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Hao Li <hao.x.li@intel.com>
This commit is contained in:
parent
91fbfc34e8
commit
d59fec5d70
|
@ -635,6 +635,11 @@ TEST_P(CreateBufferMappedTests, LargeBufferFails) {
|
|||
// TODO(http://crbug.com/dawn/27): Missing support.
|
||||
DAWN_SKIP_TEST_IF(IsMetal() || IsOpenGL());
|
||||
|
||||
// TODO(http://crbug.com/dawn/241): Fails on NVIDIA cards when Vulkan validation layers are
|
||||
// enabled becuase the maximum size of a single allocation cannot be larger than or equal to
|
||||
// 4G on some platforms.
|
||||
DAWN_SKIP_TEST_IF(IsVulkan() && IsNvidia() && IsBackendValidationEnabled());
|
||||
|
||||
dawn::BufferDescriptor descriptor;
|
||||
descriptor.size = std::numeric_limits<uint64_t>::max();
|
||||
descriptor.usage = dawn::BufferUsage::MapRead | dawn::BufferUsage::CopyDst;
|
||||
|
|
Loading…
Reference in New Issue