commit | d117d6511b7f3add38b634bf4e479c22f1b2f519 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Aug 21 01:20:00 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 21 01:20:00 2024 +0000 |
tree | 7a0d87805611fec046a161777454667dc292cb1d | |
parent | bcee2cdac6855742d30827b991a40a7362c835d7 [diff] [blame] |
[spirv][ir] Add some missing decorations. This CL adds the `coherent` annotation to variables and function parameters where needed. The `NonWritable` and `NonReadable` annotations are also added to function parameters. Change-Id: I93fdffa2c40f8bcccfa50b744ad30880d1d1e2b5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/203294 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.spvasm b/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.spvasm index e33f963..c1c7f5a 100644 --- a/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.spvasm +++ b/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.spvasm
@@ -18,6 +18,7 @@ OpDecorate %tint_symbol_1 Block OpDecorate %1 DescriptorSet 0 OpDecorate %1 Binding 0 + OpDecorate %1 Coherent OpDecorate %arg_0 DescriptorSet 1 OpDecorate %arg_0 Binding 0 OpDecorate %arg_1 DescriptorSet 1