mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 22:23:29 +00:00
Skip SNORM formats on unsupported platforms.
Bug: dawn:447 dawn:667 Change-Id: I66d5a33febeee6a5ea4efd7c4e97461accce22ee Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/43580 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
parent
b9eec93172
commit
9b9e7b293e
@ -1635,6 +1635,11 @@ TEST_P(CopyTests_T2T, CopyFromNonZeroMipLevelWithTexelBlockSizeLessThan4Bytes) {
|
||||
ASSERT_LE(kDstSize, kTextureBytesPerRowAlignment);
|
||||
|
||||
for (wgpu::TextureFormat format : kFormats) {
|
||||
if (HasToggleEnabled("disable_snorm_read") &&
|
||||
(format == wgpu::TextureFormat::RG8Snorm || format == wgpu::TextureFormat::R8Snorm)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
for (uint32_t textureDepth = 1; textureDepth < 3; ++textureDepth) {
|
||||
const wgpu::Extent3D kUploadSize = {4u, 4u, textureDepth};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user