commit | 2312bfa66cd1437612fd16a98620c51ff6224345 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Fri Dec 13 09:53:34 2024 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 13 09:53:34 2024 -0800 |
tree | 7a086d56c5e782c30f6ac268bc93c8b9d3b1b131 | |
parent | 505a2d78c9a0be556aeff5f22a02f0950de86074 [diff] [blame] |
[gl] Rename buffer variables in the printer This fixes an issue where user identifiers were still be included in declarations that we emit in the backend, which is potential security issue. This also prepares the backend for handling symbol renaming entirely inside the printer, instead of with a transform run by Dawn. Fixed: 382744100 Change-Id: Ieacb9a3b5c5ed65bda0af8b4c77e0b95b3c3edd0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/218617 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: James Price <jrprice@google.com>
diff --git a/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.glsl b/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.glsl index a4197e1..9d147ce 100644 --- a/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.glsl
@@ -7,7 +7,7 @@ precision highp int; layout(binding = 0, std430) -buffer prevent_dce_block_1_ssbo { +buffer f_prevent_dce_block_ssbo { f16vec4 inner; } v; f16vec4 refract_0594ba() {