mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 17:35:30 +00:00
ast: Rename ImageFormat to TexelFormat
This is what its called in the spec. Issue: tint:1361 Change-Id: I512c4224191fd2bbf04522da2093872f79ee02a6 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/75581 Reviewed-by: David Neto <dneto@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
c1faee9395
commit
294ce9394f
@@ -152,7 +152,7 @@ const ast::Type* Transform::CreateASTTypeFor(CloneContext& ctx,
|
||||
}
|
||||
if (auto* t = ty->As<sem::StorageTexture>()) {
|
||||
return ctx.dst->create<ast::StorageTexture>(
|
||||
t->dim(), t->image_format(), CreateASTTypeFor(ctx, t->type()),
|
||||
t->dim(), t->texel_format(), CreateASTTypeFor(ctx, t->type()),
|
||||
t->access());
|
||||
}
|
||||
if (auto* s = ty->As<sem::Sampler>()) {
|
||||
|
||||
Reference in New Issue
Block a user