mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
type_determiner: use f32 as the subtype for u/norm storage texture.
Fixes: tint:367 Change-Id: I311f5b9524d6251c88ae774dc8dc80f6d52e457d Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/33922 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
12ed862c7e
commit
bed7a32b3b
@@ -96,7 +96,7 @@ TEST_F(StorageTextureTypeTest, U32Type) {
|
||||
ast::Module mod;
|
||||
ast::type::Type* s = mod.create<StorageTextureType>(
|
||||
TextureDimension::k2dArray, AccessControl::kReadOnly,
|
||||
ImageFormat::kRgba8Unorm);
|
||||
ImageFormat::kRg32Uint);
|
||||
TypeDeterminer td(&ctx, &mod);
|
||||
|
||||
ASSERT_TRUE(td.Determine()) << td.error();
|
||||
|
||||
Reference in New Issue
Block a user