mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
Replace TextureType::(Is|As)Sampled with Castable
Change-Id: Id997f118a8ce9f4f7c42bed306368d3f204b6607 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/34279 Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
@@ -386,7 +386,9 @@ std::vector<ResourceBinding> Inspector::GetSampledTextureResourceBindingsImpl(
|
||||
->type()
|
||||
->UnwrapIfNeeded();
|
||||
} else {
|
||||
base_type = texture_type->AsSampled()->type()->UnwrapIfNeeded();
|
||||
base_type = texture_type->As<ast::type::SampledTextureType>()
|
||||
->type()
|
||||
->UnwrapIfNeeded();
|
||||
}
|
||||
|
||||
if (base_type->Is<ast::type::ArrayType>()) {
|
||||
|
||||
Reference in New Issue
Block a user