spirv-execution-env icon indicating copy to clipboard operation
spirv-execution-env copied to clipboard

disallow ImageRead, ImageWrite, ImageFetch with ConstOffset

Open dneto0 opened this issue 5 years ago • 1 comments

In WGSL, textureLoad, textureStore do not have overloads with an offset parameter.

See also https://bugs.chromium.org/p/tint/issues/detail?id=408

dneto0 avatar Dec 10 '20 00:12 dneto0

Vulkan permits use of ConstOffset with ImageFetch.

I suspect there is a missing rule to ban ConstOffset with ImageRead, ImageWrite.

dneto0 avatar Dec 17 '20 19:12 dneto0