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/textureDimensions/841ebe.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.glsl index c5c9f98..80ede9b 100644 --- a/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.glsl +++ b/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.glsl
@@ -6,7 +6,7 @@ precision highp int; layout(binding = 0, std430) -buffer prevent_dce_block_1_ssbo { +buffer f_prevent_dce_block_ssbo { uint inner; } v; layout(binding = 0, rgba8i) uniform highp readonly iimage2D arg_0;