From f9b8b6104dc53551aa8bd56afa0d49159de4433d Mon Sep 17 00:00:00 2001 From: Stephen White Date: Mon, 24 Jan 2022 17:17:22 +0000 Subject: [PATCH] GLSL: implement CombineSamplers transform (string version). This transform converts all separate texture/sampler references in a program into combined texture/samplers. This is required for GLSL, which does not support separate texture/samplers. As input, the transform requires a map from the unique sampler/texture pairs previously gathered by the Resolver to strings, which will be used as the names of the newly-generated combined samplers. Note that binding points are unused by GLSL, and so are set to (0, 0) with collision detection disabled. All function signatures containing textures or samplers are rewritten, as well as function calls and texture intrinsic calls. For texture intrinsic calls, a placeholder sampler is used to satisfy the subsequent Resolver pass (GLSL texture intrinsics do not require a separate sampler, but WGSL intrinsics do). The placeholder is also used if the shader contains only texture references (e.g., textureLoad). Bug: tint:1366 Change-Id: Iff8407d28fdc2a8adac5cb655707a08c8553c389 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/77080 Reviewed-by: Ben Clayton Kokoro: Kokoro Commit-Queue: Stephen White --- src/BUILD.gn | 2 + src/CMakeLists.txt | 3 + src/transform/combine_samplers.cc | 312 +++++++++ src/transform/combine_samplers.h | 104 +++ src/transform/combine_samplers_test.cc | 656 ++++++++++++++++++ src/transform/glsl.cc | 16 + src/writer/glsl/generator.cc | 12 +- src/writer/glsl/generator.h | 33 +- .../generator_impl_intrinsic_texture_test.cc | 170 ++--- test/BUILD.gn | 1 + test/bug/dawn/947.wgsl.expected.glsl | 9 +- .../1112.wgsl.expected.glsl | 12 +- test/bug/tint/1046.wgsl.expected.glsl | 4 +- test/bug/tint/413.spvasm.expected.glsl | 8 +- test/bug/tint/453.wgsl.expected.glsl | 8 +- test/bug/tint/534.wgsl.expected.glsl | 11 +- test/bug/tint/757.wgsl.expected.glsl | 6 +- test/bug/tint/827.wgsl.expected.glsl | 5 +- test/bug/tint/913.wgsl.expected.glsl | 15 +- test/bug/tint/942.wgsl.expected.glsl | 14 +- test/bug/tint/948.wgsl.expected.glsl | 40 +- test/bug/tint/949.wgsl.expected.glsl | 22 +- test/bug/tint/959.wgsl.expected.glsl | 32 - test/bug/tint/978.wgsl.expected.glsl | 9 +- .../gen/ignore/2a6ac2.wgsl.expected.glsl | 78 +-- .../gen/ignore/5016e5.wgsl.expected.glsl | 97 +-- .../gen/ignore/509355.wgsl.expected.glsl | 78 +-- .../gen/ignore/5c9edf.wgsl.expected.glsl | 78 +-- .../gen/ignore/ad88be.wgsl.expected.glsl | 97 +-- .../gen/ignore/b469af.wgsl.expected.glsl | 97 +-- .../gen/ignore/c8a0ee.wgsl.expected.glsl | 78 +-- .../gen/ignore/e0187b.wgsl.expected.glsl | 78 +-- .../002b2a.wgsl.expected.glsl | 12 +- .../012b82.wgsl.expected.glsl | 12 +- .../08753d.wgsl.expected.glsl | 12 +- .../0c4772.wgsl.expected.glsl | 12 +- .../0cce40.wgsl.expected.glsl | 12 +- .../0cf2ff.wgsl.expected.glsl | 12 +- .../0d8b7e.wgsl.expected.glsl | 12 +- .../0e32ee.wgsl.expected.glsl | 12 +- .../0f3c50.wgsl.expected.glsl | 12 +- .../1191a5.wgsl.expected.glsl | 12 +- .../12c9bb.wgsl.expected.glsl | 12 +- .../147998.wgsl.expected.glsl | 12 +- .../16036c.wgsl.expected.glsl | 12 +- .../1b71f0.wgsl.expected.glsl | 12 +- .../1d6c26.wgsl.expected.glsl | 12 +- .../1e9e39.wgsl.expected.glsl | 12 +- .../1f20c5.wgsl.expected.glsl | 12 +- .../214dd4.wgsl.expected.glsl | 12 +- .../221f22.wgsl.expected.glsl | 12 +- .../267788.wgsl.expected.glsl | 12 +- .../26bdfa.wgsl.expected.glsl | 12 +- .../26ef6c.wgsl.expected.glsl | 12 +- .../2ad087.wgsl.expected.glsl | 12 +- .../2efa05.wgsl.expected.glsl | 12 +- .../2f289f.wgsl.expected.glsl | 12 +- .../2fe1cc.wgsl.expected.glsl | 12 +- .../318ecc.wgsl.expected.glsl | 12 +- .../340d06.wgsl.expected.glsl | 12 +- .../398e30.wgsl.expected.glsl | 12 +- .../3a94ea.wgsl.expected.glsl | 12 +- .../3aca08.wgsl.expected.glsl | 12 +- .../3c5ad8.wgsl.expected.glsl | 12 +- .../4152a6.wgsl.expected.glsl | 12 +- .../423f99.wgsl.expected.glsl | 12 +- .../4267ee.wgsl.expected.glsl | 12 +- .../42d4e6.wgsl.expected.glsl | 12 +- .../48cb89.wgsl.expected.glsl | 12 +- .../49d274.wgsl.expected.glsl | 12 +- .../4df9a8.wgsl.expected.glsl | 12 +- .../50a9ee.wgsl.expected.glsl | 12 +- .../52045c.wgsl.expected.glsl | 12 +- .../55b23e.wgsl.expected.glsl | 12 +- .../579629.wgsl.expected.glsl | 12 +- .../57da0b.wgsl.expected.glsl | 12 +- .../57e28f.wgsl.expected.glsl | 12 +- .../58a515.wgsl.expected.glsl | 12 +- .../5985f3.wgsl.expected.glsl | 12 +- .../5caa5e.wgsl.expected.glsl | 12 +- .../5e295d.wgsl.expected.glsl | 12 +- .../60bf54.wgsl.expected.glsl | 12 +- .../63f3cf.wgsl.expected.glsl | 12 +- .../68105c.wgsl.expected.glsl | 12 +- .../686ef2.wgsl.expected.glsl | 12 +- .../6adac6.wgsl.expected.glsl | 12 +- .../6ec1b4.wgsl.expected.glsl | 12 +- .../6f0d79.wgsl.expected.glsl | 12 +- .../702c53.wgsl.expected.glsl | 12 +- .../72e5d6.wgsl.expected.glsl | 12 +- .../79df87.wgsl.expected.glsl | 12 +- .../7bf826.wgsl.expected.glsl | 12 +- .../7f5c2e.wgsl.expected.glsl | 12 +- .../8028f3.wgsl.expected.glsl | 12 +- .../811679.wgsl.expected.glsl | 12 +- .../820596.wgsl.expected.glsl | 12 +- .../83ee5a.wgsl.expected.glsl | 12 +- .../85d556.wgsl.expected.glsl | 12 +- .../88ad17.wgsl.expected.glsl | 12 +- .../8aa4c4.wgsl.expected.glsl | 12 +- .../8deb5e.wgsl.expected.glsl | 12 +- .../8f20bf.wgsl.expected.glsl | 12 +- .../8fca0f.wgsl.expected.glsl | 12 +- .../90340b.wgsl.expected.glsl | 12 +- .../9042ab.wgsl.expected.glsl | 12 +- .../9393b0.wgsl.expected.glsl | 12 +- .../939fdb.wgsl.expected.glsl | 12 +- .../962dcd.wgsl.expected.glsl | 12 +- .../9abfe5.wgsl.expected.glsl | 12 +- .../9c9c57.wgsl.expected.glsl | 12 +- .../9da9e2.wgsl.expected.glsl | 12 +- .../9eb8d8.wgsl.expected.glsl | 12 +- .../9f8e46.wgsl.expected.glsl | 12 +- .../a01845.wgsl.expected.glsl | 12 +- .../a7d565.wgsl.expected.glsl | 12 +- .../a863f2.wgsl.expected.glsl | 12 +- .../a9c9c1.wgsl.expected.glsl | 12 +- .../b0e16d.wgsl.expected.glsl | 12 +- .../b3c954.wgsl.expected.glsl | 12 +- .../b3e407.wgsl.expected.glsl | 12 +- .../b91240.wgsl.expected.glsl | 12 +- .../ba1481.wgsl.expected.glsl | 12 +- .../bb3dde.wgsl.expected.glsl | 12 +- .../c30e75.wgsl.expected.glsl | 12 +- .../c7943d.wgsl.expected.glsl | 12 +- .../cc968c.wgsl.expected.glsl | 12 +- .../cccc8f.wgsl.expected.glsl | 12 +- .../cd76a7.wgsl.expected.glsl | 12 +- .../cdf473.wgsl.expected.glsl | 12 +- .../cec841.wgsl.expected.glsl | 12 +- .../cf7e43.wgsl.expected.glsl | 12 +- .../d125bc.wgsl.expected.glsl | 12 +- .../d83c45.wgsl.expected.glsl | 12 +- .../daf7c0.wgsl.expected.glsl | 12 +- .../dc2dd0.wgsl.expected.glsl | 12 +- .../e927be.wgsl.expected.glsl | 12 +- .../e9e96c.wgsl.expected.glsl | 12 +- .../ef5b89.wgsl.expected.glsl | 12 +- .../efc8a4.wgsl.expected.glsl | 12 +- .../f60bdb.wgsl.expected.glsl | 12 +- .../f7145b.wgsl.expected.glsl | 12 +- .../f931c7.wgsl.expected.glsl | 12 +- .../fa9859.wgsl.expected.glsl | 12 +- .../fb5670.wgsl.expected.glsl | 12 +- .../fcac78.wgsl.expected.glsl | 12 +- .../textureGather/01305f.wgsl.expected.glsl | 12 +- .../textureGather/06030a.wgsl.expected.glsl | 12 +- .../textureGather/10c554.wgsl.expected.glsl | 12 +- .../textureGather/15d79c.wgsl.expected.glsl | 12 +- .../textureGather/2e0ed5.wgsl.expected.glsl | 12 +- .../textureGather/3112e8.wgsl.expected.glsl | 12 +- .../textureGather/3c527e.wgsl.expected.glsl | 12 +- .../textureGather/43025d.wgsl.expected.glsl | 12 +- .../textureGather/4f2350.wgsl.expected.glsl | 12 +- .../textureGather/51cf0b.wgsl.expected.glsl | 12 +- .../textureGather/53ece6.wgsl.expected.glsl | 12 +- .../textureGather/57bfc6.wgsl.expected.glsl | 12 +- .../textureGather/587ba3.wgsl.expected.glsl | 12 +- .../textureGather/69e0fb.wgsl.expected.glsl | 12 +- .../textureGather/93003d.wgsl.expected.glsl | 12 +- .../textureGather/9a6358.wgsl.expected.glsl | 12 +- .../textureGather/9efca2.wgsl.expected.glsl | 12 +- .../textureGather/bd0b1e.wgsl.expected.glsl | 12 +- .../textureGather/c409ae.wgsl.expected.glsl | 12 +- .../textureGather/c55822.wgsl.expected.glsl | 12 +- .../textureGather/e1b67d.wgsl.expected.glsl | 12 +- .../textureGather/e9eff6.wgsl.expected.glsl | 12 +- .../textureGather/f5f3ba.wgsl.expected.glsl | 12 +- .../textureGather/f7995a.wgsl.expected.glsl | 12 +- .../182fd4.wgsl.expected.glsl | 12 +- .../60d2d1.wgsl.expected.glsl | 12 +- .../6d9352.wgsl.expected.glsl | 12 +- .../6f1267.wgsl.expected.glsl | 12 +- .../783e65.wgsl.expected.glsl | 12 +- .../a5f587.wgsl.expected.glsl | 12 +- .../gen/textureLoad/19cf87.wgsl.expected.glsl | 12 +- .../gen/textureLoad/1b8588.wgsl.expected.glsl | 12 +- .../gen/textureLoad/1f2016.wgsl.expected.glsl | 12 +- .../gen/textureLoad/484344.wgsl.expected.glsl | 12 +- .../gen/textureLoad/4fd803.wgsl.expected.glsl | 12 +- .../gen/textureLoad/5a2f9d.wgsl.expected.glsl | 12 +- .../gen/textureLoad/6154d4.wgsl.expected.glsl | 12 +- .../gen/textureLoad/6273b1.wgsl.expected.glsl | 12 +- .../gen/textureLoad/79e697.wgsl.expected.glsl | 12 +- .../gen/textureLoad/7c90e5.wgsl.expected.glsl | 12 +- .../gen/textureLoad/81c381.wgsl.expected.glsl | 12 +- .../gen/textureLoad/87be85.wgsl.expected.glsl | 12 +- .../gen/textureLoad/8acf41.wgsl.expected.glsl | 12 +- .../gen/textureLoad/9b2667.wgsl.expected.glsl | 12 +- .../gen/textureLoad/a583c9.wgsl.expected.glsl | 12 +- .../gen/textureLoad/a9a9f5.wgsl.expected.glsl | 12 +- .../gen/textureLoad/c2a480.wgsl.expected.glsl | 12 +- .../gen/textureLoad/c378ee.wgsl.expected.glsl | 12 +- .../gen/textureLoad/e3d2cc.wgsl.expected.glsl | 12 +- .../024820.wgsl.expected.glsl | 12 +- .../053df7.wgsl.expected.glsl | 12 +- .../058cc3.wgsl.expected.glsl | 12 +- .../09d05d.wgsl.expected.glsl | 12 +- .../13b4ce.wgsl.expected.glsl | 12 +- .../22e53b.wgsl.expected.glsl | 12 +- .../562013.wgsl.expected.glsl | 12 +- .../5d59cd.wgsl.expected.glsl | 12 +- .../68a65b.wgsl.expected.glsl | 12 +- .../778bd1.wgsl.expected.glsl | 12 +- .../7f1937.wgsl.expected.glsl | 12 +- .../85f980.wgsl.expected.glsl | 12 +- .../87953e.wgsl.expected.glsl | 12 +- .../893e7c.wgsl.expected.glsl | 12 +- .../9700fb.wgsl.expected.glsl | 12 +- .../a216d2.wgsl.expected.glsl | 12 +- .../cd5dc8.wgsl.expected.glsl | 12 +- .../d5b228.wgsl.expected.glsl | 12 +- .../e31be1.wgsl.expected.glsl | 12 +- .../e653c0.wgsl.expected.glsl | 12 +- .../ee942f.wgsl.expected.glsl | 12 +- .../f33005.wgsl.expected.glsl | 12 +- .../fcec98.wgsl.expected.glsl | 12 +- .../ff5e89.wgsl.expected.glsl | 12 +- .../076cb5.wgsl.expected.glsl | 12 +- .../080d95.wgsl.expected.glsl | 12 +- .../09ddd0.wgsl.expected.glsl | 12 +- .../105988.wgsl.expected.glsl | 12 +- .../1e6f3b.wgsl.expected.glsl | 12 +- .../23f750.wgsl.expected.glsl | 12 +- .../2c3575.wgsl.expected.glsl | 12 +- .../32a0ae.wgsl.expected.glsl | 12 +- .../5101cf.wgsl.expected.glsl | 12 +- .../51b5bb.wgsl.expected.glsl | 12 +- .../897aaf.wgsl.expected.glsl | 12 +- .../9da7a5.wgsl.expected.glsl | 12 +- .../a91c03.wgsl.expected.glsl | 12 +- .../aee7c8.wgsl.expected.glsl | 12 +- .../b1b12b.wgsl.expected.glsl | 12 +- .../b4f5ea.wgsl.expected.glsl | 12 +- .../d004a9.wgsl.expected.glsl | 12 +- .../dca09e.wgsl.expected.glsl | 12 +- .../e67231.wgsl.expected.glsl | 12 +- .../ed078b.wgsl.expected.glsl | 12 +- .../f46ec6.wgsl.expected.glsl | 12 +- .../f5828d.wgsl.expected.glsl | 12 +- .../2c6f14.wgsl.expected.glsl | 12 +- .../42f8bb.wgsl.expected.glsl | 12 +- .../449d23.wgsl.expected.glsl | 12 +- .../a3c8a0.wgsl.expected.glsl | 12 +- .../textureSample/02aa9b.wgsl.expected.glsl | 4 +- .../textureSample/100dc0.wgsl.expected.glsl | 4 +- .../textureSample/38bbb9.wgsl.expected.glsl | 4 +- .../textureSample/3b50bd.wgsl.expected.glsl | 4 +- .../textureSample/4dd1bf.wgsl.expected.glsl | 4 +- .../textureSample/51b514.wgsl.expected.glsl | 4 +- .../textureSample/667d76.wgsl.expected.glsl | 4 +- .../textureSample/6717ca.wgsl.expected.glsl | 4 +- .../textureSample/6e64fb.wgsl.expected.glsl | 4 +- .../textureSample/7c3baa.wgsl.expected.glsl | 4 +- .../textureSample/7e9ffd.wgsl.expected.glsl | 4 +- .../textureSample/8522e7.wgsl.expected.glsl | 4 +- .../textureSample/c2f4e8.wgsl.expected.glsl | 4 +- .../textureSample/e53267.wgsl.expected.glsl | 4 +- .../textureSample/ea7030.wgsl.expected.glsl | 4 +- .../53b9f7.wgsl.expected.glsl | 4 +- .../65ac50.wgsl.expected.glsl | 4 +- .../6a9113.wgsl.expected.glsl | 4 +- .../80e579.wgsl.expected.glsl | 4 +- .../81c19a.wgsl.expected.glsl | 4 +- .../d3fa1b.wgsl.expected.glsl | 4 +- .../df91bb.wgsl.expected.glsl | 4 +- .../eed7c4.wgsl.expected.glsl | 4 +- .../25fcd1.wgsl.expected.glsl | 4 +- .../3a5923.wgsl.expected.glsl | 4 +- .../63fb83.wgsl.expected.glsl | 4 +- .../98b85c.wgsl.expected.glsl | 4 +- .../a3ca7e.wgsl.expected.glsl | 4 +- .../dd431d.wgsl.expected.glsl | 4 +- .../011a8f.wgsl.expected.glsl | 12 +- .../1116ed.wgsl.expected.glsl | 12 +- .../1568e3.wgsl.expected.glsl | 12 +- .../2ad2b1.wgsl.expected.glsl | 12 +- .../4cf3a2.wgsl.expected.glsl | 12 +- .../f8121c.wgsl.expected.glsl | 12 +- .../21402b.wgsl.expected.glsl | 12 +- .../2ecd8f.wgsl.expected.glsl | 12 +- .../468f88.wgsl.expected.glsl | 12 +- .../521263.wgsl.expected.glsl | 12 +- .../5312f4.wgsl.expected.glsl | 12 +- .../872f00.wgsl.expected.glsl | 12 +- .../e383db.wgsl.expected.glsl | 12 +- .../e9a2f7.wgsl.expected.glsl | 12 +- .../02be59.wgsl.expected.glsl | 12 +- .../0bdd9a.wgsl.expected.glsl | 12 +- .../1b0291.wgsl.expected.glsl | 12 +- .../1bf73e.wgsl.expected.glsl | 12 +- .../302be4.wgsl.expected.glsl | 12 +- .../47daa4.wgsl.expected.glsl | 12 +- .../690d95.wgsl.expected.glsl | 12 +- .../979816.wgsl.expected.glsl | 12 +- .../9bd37b.wgsl.expected.glsl | 12 +- .../a4af26.wgsl.expected.glsl | 12 +- .../abfcc0.wgsl.expected.glsl | 12 +- .../ae5e39.wgsl.expected.glsl | 12 +- .../ba93b3.wgsl.expected.glsl | 12 +- .../c32df7.wgsl.expected.glsl | 12 +- .../c6aca6.wgsl.expected.glsl | 12 +- .../textureStore/05ce15.wgsl.expected.glsl | 12 +- .../textureStore/064c7f.wgsl.expected.glsl | 12 +- .../textureStore/068641.wgsl.expected.glsl | 12 +- .../textureStore/0af6b5.wgsl.expected.glsl | 12 +- .../textureStore/0c3dff.wgsl.expected.glsl | 12 +- .../textureStore/102722.wgsl.expected.glsl | 12 +- .../textureStore/1bbd08.wgsl.expected.glsl | 12 +- .../textureStore/1c02e7.wgsl.expected.glsl | 12 +- .../textureStore/22d955.wgsl.expected.glsl | 12 +- .../textureStore/26bf70.wgsl.expected.glsl | 12 +- .../textureStore/2796b4.wgsl.expected.glsl | 12 +- .../textureStore/2ac6c7.wgsl.expected.glsl | 12 +- .../textureStore/2eb2a4.wgsl.expected.glsl | 12 +- .../textureStore/2ed2a3.wgsl.expected.glsl | 12 +- .../textureStore/31745b.wgsl.expected.glsl | 12 +- .../textureStore/32f368.wgsl.expected.glsl | 12 +- .../textureStore/331aee.wgsl.expected.glsl | 12 +- .../textureStore/38e8d7.wgsl.expected.glsl | 12 +- .../textureStore/3a52ac.wgsl.expected.glsl | 12 +- .../textureStore/3bb7a1.wgsl.expected.glsl | 12 +- .../textureStore/3bec15.wgsl.expected.glsl | 12 +- .../textureStore/441ba8.wgsl.expected.glsl | 12 +- .../textureStore/4fc057.wgsl.expected.glsl | 12 +- .../textureStore/5a2f8f.wgsl.expected.glsl | 12 +- .../textureStore/60975f.wgsl.expected.glsl | 12 +- .../textureStore/682fd6.wgsl.expected.glsl | 12 +- .../textureStore/6b75c3.wgsl.expected.glsl | 12 +- .../textureStore/6b80d2.wgsl.expected.glsl | 12 +- .../textureStore/6cff2e.wgsl.expected.glsl | 12 +- .../textureStore/6da692.wgsl.expected.glsl | 12 +- .../textureStore/731349.wgsl.expected.glsl | 12 +- .../textureStore/752da6.wgsl.expected.glsl | 12 +- .../textureStore/77c0ae.wgsl.expected.glsl | 12 +- .../textureStore/7cec8d.wgsl.expected.glsl | 12 +- .../textureStore/7f7fae.wgsl.expected.glsl | 12 +- .../textureStore/804942.wgsl.expected.glsl | 12 +- .../textureStore/805dae.wgsl.expected.glsl | 12 +- .../textureStore/83bcc1.wgsl.expected.glsl | 12 +- .../textureStore/872747.wgsl.expected.glsl | 12 +- .../textureStore/8e0479.wgsl.expected.glsl | 12 +- .../textureStore/8f71a1.wgsl.expected.glsl | 12 +- .../textureStore/969534.wgsl.expected.glsl | 12 +- .../textureStore/9a3ecc.wgsl.expected.glsl | 12 +- .../textureStore/9d9cd5.wgsl.expected.glsl | 12 +- .../textureStore/9e3ec5.wgsl.expected.glsl | 12 +- .../textureStore/ac67aa.wgsl.expected.glsl | 12 +- .../textureStore/b706b1.wgsl.expected.glsl | 12 +- .../textureStore/bbcb7f.wgsl.expected.glsl | 12 +- .../textureStore/be6e30.wgsl.expected.glsl | 12 +- .../textureStore/bf775c.wgsl.expected.glsl | 12 +- .../textureStore/c5af1e.wgsl.expected.glsl | 12 +- .../textureStore/c863be.wgsl.expected.glsl | 12 +- .../textureStore/d73b5c.wgsl.expected.glsl | 12 +- .../textureStore/dd7d81.wgsl.expected.glsl | 12 +- .../textureStore/dde364.wgsl.expected.glsl | 12 +- .../textureStore/e885e8.wgsl.expected.glsl | 12 +- .../textureStore/eb702f.wgsl.expected.glsl | 12 +- .../textureStore/eb78b9.wgsl.expected.glsl | 12 +- .../textureStore/ee6acc.wgsl.expected.glsl | 12 +- .../textureStore/ef9f2f.wgsl.expected.glsl | 12 +- .../textureStore/f8dead.wgsl.expected.glsl | 12 +- .../textureStore/f9be83.wgsl.expected.glsl | 12 +- .../textureStore/fb9a8f.wgsl.expected.glsl | 12 +- .../textureStore/fbf53f.wgsl.expected.glsl | 12 +- .../depth_ms.spvasm.expected.glsl | 12 +- .../f32/alpha.wgsl.expected.glsl | 4 +- .../textureGather/f32/blue.wgsl.expected.glsl | 4 +- .../f32/green.wgsl.expected.glsl | 4 +- .../textureGather/f32/red.wgsl.expected.glsl | 4 +- .../i32/alpha.wgsl.expected.glsl | 4 +- .../textureGather/i32/blue.wgsl.expected.glsl | 4 +- .../i32/green.wgsl.expected.glsl | 4 +- .../textureGather/i32/red.wgsl.expected.glsl | 4 +- .../u32/alpha.wgsl.expected.glsl | 4 +- .../textureGather/u32/blue.wgsl.expected.glsl | 4 +- .../u32/green.wgsl.expected.glsl | 4 +- .../textureGather/u32/red.wgsl.expected.glsl | 4 +- .../textureLoad/depth_ms.spvasm.expected.glsl | 12 +- .../depth_ms.spvasm.expected.glsl | 12 +- test/types/sampler.wgsl.expected.glsl | 3 - .../types/texture/depth/2d.wgsl.expected.glsl | 2 - .../texture/depth/2d_array.wgsl.expected.glsl | 2 - .../texture/depth/cube.wgsl.expected.glsl | 2 - .../depth/cube_array.wgsl.expected.glsl | 11 - .../multisampled/2d.wgsl.expected.glsl | 4 - .../texture/sampled/1d.wgsl.expected.glsl | 13 - .../texture/sampled/2d.wgsl.expected.glsl | 4 - .../sampled/2d_array.wgsl.expected.glsl | 4 - .../texture/sampled/3d.wgsl.expected.glsl | 4 - .../texture/sampled/cube.wgsl.expected.glsl | 4 - .../sampled/cube_array.wgsl.expected.glsl | 13 - .../texture/storage/1d.wgsl.expected.glsl | 26 - .../texture/storage/2d.wgsl.expected.glsl | 17 - .../storage/2d_array.wgsl.expected.glsl | 17 - .../texture/storage/3d.wgsl.expected.glsl | 17 - 397 files changed, 3347 insertions(+), 2841 deletions(-) create mode 100644 src/transform/combine_samplers.cc create mode 100644 src/transform/combine_samplers.h create mode 100644 src/transform/combine_samplers_test.cc diff --git a/src/BUILD.gn b/src/BUILD.gn index 3084e1fc62..c12abebc00 100644 --- a/src/BUILD.gn +++ b/src/BUILD.gn @@ -437,6 +437,8 @@ libtint_source_set("libtint_core_all_src") { "transform/calculate_array_length.h", "transform/canonicalize_entry_point_io.cc", "transform/canonicalize_entry_point_io.h", + "transform/combine_samplers.cc", + "transform/combine_samplers.h", "transform/decompose_memory_access.cc", "transform/decompose_memory_access.h", "transform/decompose_strided_matrix.cc", diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index db5071f186..23efeb4f9d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -303,6 +303,8 @@ set(TINT_LIB_SRCS transform/binding_remapper.h transform/calculate_array_length.cc transform/calculate_array_length.h + transform/combine_samplers.cc + transform/combine_samplers.h transform/canonicalize_entry_point_io.cc transform/canonicalize_entry_point_io.h transform/decompose_memory_access.cc @@ -976,6 +978,7 @@ if(TINT_BUILD_TESTS) transform/binding_remapper_test.cc transform/calculate_array_length_test.cc transform/canonicalize_entry_point_io_test.cc + transform/combine_samplers_test.cc transform/decompose_memory_access_test.cc transform/decompose_strided_matrix_test.cc transform/external_texture_transform_test.cc diff --git a/src/transform/combine_samplers.cc b/src/transform/combine_samplers.cc new file mode 100644 index 0000000000..ce20657c57 --- /dev/null +++ b/src/transform/combine_samplers.cc @@ -0,0 +1,312 @@ +// Copyright 2022 The Tint Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "src/transform/combine_samplers.h" + +#include +#include +#include +#include + +#include "src/sem/function.h" +#include "src/sem/statement.h" + +#include "src/utils/map.h" + +TINT_INSTANTIATE_TYPEINFO(tint::transform::CombineSamplers); +TINT_INSTANTIATE_TYPEINFO(tint::transform::CombineSamplers::BindingInfo); + +namespace { + +bool IsGlobal(const tint::sem::VariablePair& pair) { + return pair.first->Is() && + (!pair.second || pair.second->Is()); +} + +} // namespace + +namespace tint { +namespace transform { + +CombineSamplers::BindingInfo::BindingInfo(const BindingMap& map) + : binding_map(map) {} +CombineSamplers::BindingInfo::BindingInfo(const BindingInfo& other) = default; +CombineSamplers::BindingInfo::~BindingInfo() = default; + +/// The PIMPL state for the CombineSamplers transform +struct CombineSamplers::State { + /// The clone context + CloneContext& ctx; + + /// The binding info + const BindingInfo* binding_info; + + /// Map from a texture/sampler pair to the corresponding combined sampler + /// variable + using CombinedTextureSamplerMap = + std::unordered_map; + + /// Use sem::BindingPoint without scope. + using BindingPoint = sem::BindingPoint; + + /// A map of all global texture/sampler variable pairs to the global + /// combined sampler variable that will replace it. + CombinedTextureSamplerMap global_combined_texture_samplers_; + + /// A map of all texture/sampler variable pairs that contain a function + /// parameter to the combined sampler function paramter that will replace it. + std::unordered_map + function_combined_texture_samplers_; + + /// Placeholder global samplers used when a function contains texture-only + /// references (one comparison sampler, one regular). These are also used as + /// temporary sampler parameters to the texture intrinsics to satsify the WGSL + /// resolver, but are then ignored and removed by the GLSL writer. + const ast::Variable* placeholder_samplers_[2] = {}; + + /// Group and binding decorations used by all combined sampler globals. + /// Group 0 and binding 0 are used, with collisions disabled. + /// @returns the newly-created decoration list + ast::DecorationList Decorations() const { + auto decorations = ctx.dst->GroupAndBinding(0, 0); + decorations.push_back( + ctx.dst->Disable(ast::DisabledValidation::kBindingPointCollision)); + return decorations; + } + + /// Constructor + /// @param context the clone context + /// @param info the binding map information + State(CloneContext& context, const BindingInfo* info) + : ctx(context), binding_info(info) {} + + /// Creates a combined sampler global variables. + /// (Note this is actually a Texture node at the AST level, but it will be + /// written as the corresponding sampler (eg., sampler2D) on GLSL output.) + /// @param texture_var the texture (global) variable + /// @param sampler_var the sampler (global) variable + /// @param name the default name to use (may be overridden by map lookup) + /// @returns the newly-created global variable + const ast::Variable* CreateCombinedGlobal(const sem::Variable* texture_var, + const sem::Variable* sampler_var, + std::string name) { + SamplerTexturePair bp_pair; + bp_pair.texture_binding_point = + texture_var->As()->BindingPoint(); + bp_pair.sampler_binding_point = + sampler_var ? sampler_var->As()->BindingPoint() + : BindingPoint(); + auto it = binding_info->binding_map.find(bp_pair); + if (it != binding_info->binding_map.end()) { + name = it->second; + } + const ast::Type* type = CreateASTTypeFor(ctx, texture_var->Type()); + Symbol symbol = ctx.dst->Symbols().New(name); + return ctx.dst->Global(symbol, type, Decorations()); + } + + /// Creates placeholder global sampler variables. + /// @param kind the sampler kind to create for + /// @returns the newly-created global variable + const ast::Variable* CreatePlaceholder(ast::SamplerKind kind) { + const ast::Type* type = ctx.dst->ty.sampler(kind); + const char* name = kind == ast::SamplerKind::kComparisonSampler + ? "placeholder_comparison_sampler" + : "placeholder_sampler"; + Symbol symbol = ctx.dst->Symbols().New(name); + return ctx.dst->Global(symbol, type, Decorations()); + } + + /// Performs the transformation + void Run() { + auto& sem = ctx.src->Sem(); + + // Remove all texture and sampler global variables. These will be replaced + // by combined samplers. + for (auto* var : ctx.src->AST().GlobalVariables()) { + if (sem.Get(var->type)->IsAnyOf()) { + ctx.Remove(ctx.src->AST().GlobalDeclarations(), var); + } + } + + // Rewrite all function signatures to use combined samplers, and remove + // separate textures & samplers. Create new combined globals where found. + ctx.ReplaceAll([&](const ast::Function* src) -> const ast::Function* { + if (auto* func = sem.Get(src)) { + auto pairs = func->TextureSamplerPairs(); + if (pairs.empty()) { + return nullptr; + } + ast::VariableList params; + for (auto pair : func->TextureSamplerPairs()) { + const sem::Variable* texture_var = pair.first; + const sem::Variable* sampler_var = pair.second; + std::string name = + ctx.src->Symbols().NameFor(texture_var->Declaration()->symbol); + if (sampler_var) { + name += "_" + ctx.src->Symbols().NameFor( + sampler_var->Declaration()->symbol); + } + if (IsGlobal(pair)) { + // Both texture and sampler are global; add a new global variable + // to represent the combined sampler (if not already created). + utils::GetOrCreate(global_combined_texture_samplers_, pair, [&] { + return CreateCombinedGlobal(texture_var, sampler_var, name); + }); + } else { + // Either texture or sampler (or both) is a function parameter; + // add a new function parameter to represent the combined sampler. + const ast::Type* type = CreateASTTypeFor(ctx, texture_var->Type()); + const ast::Variable* var = + ctx.dst->Param(ctx.dst->Symbols().New(name), type); + params.push_back(var); + function_combined_texture_samplers_[func][pair] = var; + } + } + // Filter out separate textures and samplers from the original + // function signature. + for (auto* var : src->params) { + if (!sem.Get(var->type)->IsAnyOf()) { + params.push_back(ctx.Clone(var)); + } + } + // Create a new function signature that differs only in the parameter + // list. + auto symbol = ctx.Clone(src->symbol); + auto* return_type = ctx.Clone(src->return_type); + auto* body = ctx.Clone(src->body); + auto decorations = ctx.Clone(src->decorations); + auto return_type_decorations = ctx.Clone(src->return_type_decorations); + return ctx.dst->create( + symbol, params, return_type, body, std::move(decorations), + std::move(return_type_decorations)); + } + return nullptr; + }); + + // Replace all function call expressions containing texture or + // sampler parameters to use the current function's combined samplers or + // the combined global samplers, as appropriate. + ctx.ReplaceAll([&](const ast::CallExpression* expr) + -> const ast::Expression* { + if (auto* call = sem.Get(expr)) { + ast::ExpressionList args; + // Replace all texture intrinsic calls. + if (auto* intrinsic = call->Target()->As()) { + const auto& signature = intrinsic->Signature(); + int sampler_index = signature.IndexOf(sem::ParameterUsage::kSampler); + int texture_index = signature.IndexOf(sem::ParameterUsage::kTexture); + if (texture_index == -1) { + return nullptr; + } + const sem::Expression* texture = call->Arguments()[texture_index]; + const sem::Expression* sampler = + sampler_index != -1 ? call->Arguments()[sampler_index] : nullptr; + auto* texture_var = texture->As()->Variable(); + auto* sampler_var = + sampler ? sampler->As()->Variable() : nullptr; + sem::VariablePair new_pair(texture_var, sampler_var); + for (auto* arg : expr->args) { + auto* type = ctx.src->TypeOf(arg)->UnwrapRef(); + if (type->Is()) { + const ast::Variable* var = + IsGlobal(new_pair) + ? global_combined_texture_samplers_[new_pair] + : function_combined_texture_samplers_ + [call->Stmt()->Function()][new_pair]; + args.push_back(ctx.dst->Expr(var->symbol)); + } else if (auto* sampler_type = type->As()) { + ast::SamplerKind kind = sampler_type->kind(); + int index = (kind == ast::SamplerKind::kSampler) ? 0 : 1; + const ast::Variable*& p = placeholder_samplers_[index]; + if (!p) { + p = CreatePlaceholder(kind); + } + args.push_back(ctx.dst->Expr(p->symbol)); + } else { + args.push_back(ctx.Clone(arg)); + } + } + return ctx.dst->Call(ctx.Clone(expr->target.name), args); + } + // Replace all function calls. + if (auto* callee = call->Target()->As()) { + for (auto pair : callee->TextureSamplerPairs()) { + // Global pairs used by the callee do not require a function + // parameter at the call site. + if (IsGlobal(pair)) { + continue; + } + const sem::Variable* texture_var = pair.first; + const sem::Variable* sampler_var = pair.second; + if (auto* param = texture_var->As()) { + const sem::Expression* texture = + call->Arguments()[param->Index()]; + texture_var = texture->As()->Variable(); + } + if (sampler_var) { + if (auto* param = sampler_var->As()) { + const sem::Expression* sampler = + call->Arguments()[param->Index()]; + sampler_var = sampler->As()->Variable(); + } + } + sem::VariablePair new_pair(texture_var, sampler_var); + // If both texture and sampler are (now) global, pass that + // global variable to the callee. Otherwise use the caller's + // function parameter for this pair. + const ast::Variable* var = + IsGlobal(new_pair) ? global_combined_texture_samplers_[new_pair] + : function_combined_texture_samplers_ + [call->Stmt()->Function()][new_pair]; + auto* arg = ctx.dst->Expr(var->symbol); + args.push_back(arg); + } + // Append all of the remaining non-texture and non-sampler + // parameters. + for (auto* arg : expr->args) { + if (!ctx.src->TypeOf(arg) + ->UnwrapRef() + ->IsAnyOf()) { + args.push_back(ctx.Clone(arg)); + } + } + return ctx.dst->Call(ctx.Clone(expr->target.name), args); + } + } + return nullptr; + }); + + ctx.Clone(); + } +}; + +CombineSamplers::CombineSamplers() = default; + +CombineSamplers::~CombineSamplers() = default; + +void CombineSamplers::Run(CloneContext& ctx, const DataMap& inputs, DataMap&) { + auto* binding_info = inputs.Get(); + if (!binding_info) { + ctx.dst->Diagnostics().add_error( + diag::System::Transform, + "missing transform data for " + std::string(TypeInfo().name)); + return; + } + + State(ctx, binding_info).Run(); +} + +} // namespace transform +} // namespace tint diff --git a/src/transform/combine_samplers.h b/src/transform/combine_samplers.h new file mode 100644 index 0000000000..ce83373f23 --- /dev/null +++ b/src/transform/combine_samplers.h @@ -0,0 +1,104 @@ +// Copyright 2022 The Tint Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef SRC_TRANSFORM_COMBINE_SAMPLERS_H_ +#define SRC_TRANSFORM_COMBINE_SAMPLERS_H_ + +#include +#include + +#include "src/sem/sampler_texture_pair.h" +#include "src/transform/transform.h" + +namespace tint { +namespace transform { + +/// This transform converts all separate texture/sampler refences in a +/// program into combined texture/samplers. This is required for GLSL, +/// which does not support separate texture/samplers. +/// +/// It utilizes the texture/sampler information collected by the +/// Resolver and stored on each sem::Function. For each function, all +/// separate texture/sampler parameters in the function signature are +/// removed. For each unique pair, if both texture and sampler are +/// global variables, the function passes the corresponding combined +/// global stored in global_combined_texture_samplers_ at the call +/// site. Otherwise, either the texture or sampler must be a function +/// parameter. In this case, a new parameter is added to the function +/// signature. All separate texture/sampler parameters are removed. +/// +/// All texture intrinsic callsites are modified to pass the combined +/// texture/sampler as the first argument, and separate texture/sampler +/// arugments are removed. +/// +/// Note that the sampler may be null, indicating that only a texture +/// reference was required (e.g., textureLoad). In this case, a +/// placeholder global sampler is used at the AST level. This will be +/// combined with the original texture to give a combined global, and +/// the placeholder removed (ignored) by the GLSL writer. +/// +/// Note that the combined samplers are actually represented by a +/// Texture node at the AST level, since this contains all the +/// information needed to represent a combined sampler in GLSL +/// (dimensionality, component type, etc). The GLSL writer outputs such +/// (Tint) Textures as (GLSL) Samplers. +class CombineSamplers : public Castable { + public: + /// A pair of binding points. + using SamplerTexturePair = sem::SamplerTexturePair; + + /// A map from a sampler/texture pair to a named global. + using BindingMap = std::unordered_map; + + /// The client-provided mapping from separate texture and sampler binding + /// points to combined sampler binding point. + struct BindingInfo : public Castable { + /// Constructor + /// @param map the map of all (texture, sampler) -> (combined) pairs + explicit BindingInfo(const BindingMap& map); + + /// Copy constructor + /// @param other the other BindingInfo to copy + BindingInfo(const BindingInfo& other); + + /// Destructor + ~BindingInfo() override; + + /// A map of bindings from (texture, sampler) -> combined sampler. + BindingMap binding_map; + }; + + /// Constructor + CombineSamplers(); + + /// Destructor + ~CombineSamplers() override; + + protected: + /// The PIMPL state for this transform + struct State; + + /// Runs the transform using the CloneContext built for transforming a + /// program. Run() is responsible for calling Clone() on the CloneContext. + /// @param ctx the CloneContext primed with the input program and + /// ProgramBuilder + /// @param inputs optional extra transform-specific input data + /// @param outputs optional extra transform-specific output data + void Run(CloneContext& ctx, const DataMap& inputs, DataMap& outputs) override; +}; + +} // namespace transform +} // namespace tint + +#endif // SRC_TRANSFORM_COMBINE_SAMPLERS_H_ diff --git a/src/transform/combine_samplers_test.cc b/src/transform/combine_samplers_test.cc new file mode 100644 index 0000000000..60f836c724 --- /dev/null +++ b/src/transform/combine_samplers_test.cc @@ -0,0 +1,656 @@ +// Copyright 2022 The Tint Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "src/transform/combine_samplers.h" + +#include +#include + +#include "src/transform/test_helper.h" + +namespace tint { +namespace transform { +namespace { + +using CombineSamplersTest = TransformTest; + +TEST_F(CombineSamplersTest, EmptyModule) { + auto* src = ""; + auto* expect = ""; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, SimplePair) { + auto* src = R"( +@group(0) @binding(0) var t : texture_2d; + +@group(0) @binding(1) var s : sampler; + +fn main() -> vec4 { + return textureSample(t, s, vec2(1.0, 2.0)); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var t_s : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn main() -> vec4 { + return textureSample(t_s, placeholder_sampler, vec2(1.0, 2.0)); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, SimplePairInAFunction) { + auto* src = R"( +@group(0) @binding(0) var t : texture_2d; + +@group(0) @binding(1) var s : sampler; + +fn sample(t : texture_2d, s : sampler, coords : vec2) -> vec4 { + return textureSample(t, s, coords); +} + +fn main() -> vec4 { + return sample(t, s, vec2(1.0, 2.0)); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn sample(t_s : texture_2d, coords : vec2) -> vec4 { + return textureSample(t_s, placeholder_sampler, coords); +} + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var t_s_1 : texture_2d; + +fn main() -> vec4 { + return sample(t_s_1, vec2(1.0, 2.0)); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, SimplePairRename) { + auto* src = R"( +@group(0) @binding(1) var t : texture_2d; + +@group(2) @binding(3) var s : sampler; + +fn main() -> vec4 { + return textureSample(t, s, vec2(1.0, 2.0)); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var fuzzy : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn main() -> vec4 { + return textureSample(fuzzy, placeholder_sampler, vec2(1.0, 2.0)); +} +)"; + + DataMap data; + CombineSamplers::BindingMap map; + sem::SamplerTexturePair pair; + pair.texture_binding_point.group = 0; + pair.texture_binding_point.binding = 1; + pair.sampler_binding_point.group = 2; + pair.sampler_binding_point.binding = 3; + map[pair] = "fuzzy"; + data.Add(map); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, SimplePairRenameMiss) { + auto* src = R"( +@group(0) @binding(1) var t : texture_2d; + +@group(2) @binding(3) var s : sampler; + +fn main() -> vec4 { + return textureSample(t, s, vec2(1.0, 2.0)); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var t_s : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn main() -> vec4 { + return textureSample(t_s, placeholder_sampler, vec2(1.0, 2.0)); +} +)"; + + DataMap data; + CombineSamplers::BindingMap map; + sem::SamplerTexturePair pair; + pair.texture_binding_point.group = 3; + pair.texture_binding_point.binding = 2; + pair.sampler_binding_point.group = 1; + pair.sampler_binding_point.binding = 0; + map[pair] = "fuzzy"; + data.Add(map); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, AliasedTypes) { + auto* src = R"( + +type Tex2d = texture_2d; + +@group(0) @binding(0) var t : Tex2d; + +@group(0) @binding(1) var s : sampler; + +fn sample(t : Tex2d, s : sampler, coords : vec2) -> vec4 { + return textureSample(t, s, coords); +} + +fn main() -> vec4 { + return sample(t, s, vec2(1.0, 2.0)); +} +)"; + auto* expect = R"( +type Tex2d = texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn sample(t_s : texture_2d, coords : vec2) -> vec4 { + return textureSample(t_s, placeholder_sampler, coords); +} + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var t_s_1 : texture_2d; + +fn main() -> vec4 { + return sample(t_s_1, vec2(1.0, 2.0)); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, SimplePairInTwoFunctions) { + auto* src = R"( +@group(0) @binding(0) var t : texture_2d; + +@group(0) @binding(1) var s : sampler; + +fn g(t : texture_2d, s : sampler, coords : vec2) -> vec4 { + return textureSample(t, s, coords); +} + +fn f(t : texture_2d, s : sampler, coords : vec2) -> vec4 { + return g(t, s, coords); +} + +fn main() -> vec4 { + return f(t, s, vec2(1.0, 2.0)); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn g(t_s : texture_2d, coords : vec2) -> vec4 { + return textureSample(t_s, placeholder_sampler, coords); +} + +fn f(t_s_1 : texture_2d, coords : vec2) -> vec4 { + return g(t_s_1, coords); +} + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var t_s_2 : texture_2d; + +fn main() -> vec4 { + return f(t_s_2, vec2(1.0, 2.0)); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, TwoFunctionsGenerateSamePair) { + auto* src = R"( +@group(1) @binding(0) var tex : texture_2d; + +@group(1) @binding(1) var samp : sampler; + +fn f() -> vec4 { + return textureSample(tex, samp, vec2(1.0, 2.0)); +} + +fn g() -> vec4 { + return textureSample(tex, samp, vec2(3.0, 4.0)); +} + +fn main() -> vec4 { + return f() + g(); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex_samp : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn f() -> vec4 { + return textureSample(tex_samp, placeholder_sampler, vec2(1.0, 2.0)); +} + +fn g() -> vec4 { + return textureSample(tex_samp, placeholder_sampler, vec2(3.0, 4.0)); +} + +fn main() -> vec4 { + return (f() + g()); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, ThreeTexturesThreeSamplers) { + auto* src = R"( +@group(0) @binding(0) var tex1 : texture_2d; +@group(0) @binding(1) var tex2 : texture_2d; +@group(0) @binding(2) var tex3 : texture_2d; + +@group(1) @binding(0) var samp1 : sampler; +@group(1) @binding(1) var samp2: sampler; +@group(1) @binding(2) var samp3: sampler; + +fn sample(t : texture_2d, s : sampler) -> vec4 { + return textureSample(t, s, vec2(1.0, 2.0)); +} + +fn main() -> vec4 { + return sample(tex1, samp1) + + sample(tex1, samp2) + + sample(tex1, samp3) + + sample(tex2, samp1) + + sample(tex2, samp2) + + sample(tex2, samp3) + + sample(tex3, samp1) + + sample(tex3, samp2) + + sample(tex3, samp3); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn sample(t_s : texture_2d) -> vec4 { + return textureSample(t_s, placeholder_sampler, vec2(1.0, 2.0)); +} + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex1_samp1 : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex1_samp2 : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex1_samp3 : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex2_samp1 : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex2_samp2 : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex2_samp3 : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex3_samp1 : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex3_samp2 : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex3_samp3 : texture_2d; + +fn main() -> vec4 { + return ((((((((sample(tex1_samp1) + sample(tex1_samp2)) + sample(tex1_samp3)) + sample(tex2_samp1)) + sample(tex2_samp2)) + sample(tex2_samp3)) + sample(tex3_samp1)) + sample(tex3_samp2)) + sample(tex3_samp3)); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, TwoFunctionsTwoTexturesDiamond) { + auto* src = R"( +@group(0) @binding(0) var tex1 : texture_2d; + +@group(0) @binding(1) var tex2 : texture_2d; + +@group(0) @binding(2) var samp : sampler; + +fn sample(t : texture_2d, s : sampler, coords : vec2) -> vec4 { + return textureSample(t, s, coords); +} + +fn f(t1 : texture_2d, t2 : texture_2d, s : sampler, coords : vec2) -> vec4 { + return sample(t1, s, coords) + sample(t2, s, coords); +} + +fn main() -> vec4 { + return f(tex1, tex2, samp, vec2(1.0, 2.0)); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn sample(t_s : texture_2d, coords : vec2) -> vec4 { + return textureSample(t_s, placeholder_sampler, coords); +} + +fn f(t1_s : texture_2d, t2_s : texture_2d, coords : vec2) -> vec4 { + return (sample(t1_s, coords) + sample(t2_s, coords)); +} + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex1_samp : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex2_samp : texture_2d; + +fn main() -> vec4 { + return f(tex1_samp, tex2_samp, vec2(1.0, 2.0)); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, TwoFunctionsTwoSamplersDiamond) { + auto* src = R"( +@group(0) @binding(0) var tex : texture_2d; + +@group(0) @binding(1) var samp1 : sampler; + +@group(0) @binding(2) var samp2 : sampler; + +fn sample(t : texture_2d, s : sampler, coords : vec2) -> vec4 { + return textureSample(t, s, coords); +} + +fn f(t : texture_2d, s1 : sampler, s2 : sampler, coords : vec2) -> vec4 { + return sample(t, s1, coords) + sample(t, s2, coords); +} + +fn main() -> vec4 { + return f(tex, samp1, samp2, vec2(1.0, 2.0)); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn sample(t_s : texture_2d, coords : vec2) -> vec4 { + return textureSample(t_s, placeholder_sampler, coords); +} + +fn f(t_s1 : texture_2d, t_s2 : texture_2d, coords : vec2) -> vec4 { + return (sample(t_s1, coords) + sample(t_s2, coords)); +} + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex_samp1 : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex_samp2 : texture_2d; + +fn main() -> vec4 { + return f(tex_samp1, tex_samp2, vec2(1.0, 2.0)); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, GlobalTextureLocalSampler) { + auto* src = R"( +@group(0) @binding(0) var tex : texture_2d; + +@group(0) @binding(1) var samp1 : sampler; + +@group(0) @binding(2) var samp2 : sampler; + +fn f(s1 : sampler, s2 : sampler, coords : vec2) -> vec4 { + return textureSample(tex, s1, coords) + textureSample(tex, s2, coords); +} + +fn main() -> vec4 { + return f(samp1, samp2, vec2(1.0, 2.0)); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn f(tex_s1 : texture_2d, tex_s2 : texture_2d, coords : vec2) -> vec4 { + return (textureSample(tex_s1, placeholder_sampler, coords) + textureSample(tex_s2, placeholder_sampler, coords)); +} + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex_samp1 : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex_samp2 : texture_2d; + +fn main() -> vec4 { + return f(tex_samp1, tex_samp2, vec2(1.0, 2.0)); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, LocalTextureGlobalSampler) { + auto* src = R"( +@group(0) @binding(0) var tex1 : texture_2d; + +@group(0) @binding(1) var tex2 : texture_2d; + +@group(0) @binding(2) var samp : sampler; + +fn f(t1 : texture_2d, t2 : texture_2d, coords : vec2) -> vec4 { + return textureSample(t1, samp, coords) + textureSample(t2, samp, coords); +} + +fn main() -> vec4 { + return f(tex1, tex2, vec2(1.0, 2.0)); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn f(t1_samp : texture_2d, t2_samp : texture_2d, coords : vec2) -> vec4 { + return (textureSample(t1_samp, placeholder_sampler, coords) + textureSample(t2_samp, placeholder_sampler, coords)); +} + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex1_samp : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex2_samp : texture_2d; + +fn main() -> vec4 { + return f(tex1_samp, tex2_samp, vec2(1.0, 2.0)); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, TextureLoadNoSampler) { + auto* src = R"( +@group(0) @binding(0) var tex : texture_2d; + +fn f(t : texture_2d, coords : vec2) -> vec4 { + return textureLoad(t, coords, 0); +} + +fn main() -> vec4 { + return f(tex, vec2(1, 2)); +} +)"; + auto* expect = R"( +fn f(t_1 : texture_2d, coords : vec2) -> vec4 { + return textureLoad(t_1, coords, 0); +} + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex_1 : texture_2d; + +fn main() -> vec4 { + return f(tex_1, vec2(1, 2)); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, TextureSampleCompare) { + auto* src = R"( +@group(0) @binding(0) var tex : texture_depth_2d; + +@group(0) @binding(1) var samp : sampler_comparison; + +fn main() -> vec4 { + return vec4(textureSampleCompare(tex, samp, vec2(1.0, 2.0), 0.5)); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex_samp : texture_depth_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_comparison_sampler : sampler_comparison; + +fn main() -> vec4 { + return vec4(textureSampleCompare(tex_samp, placeholder_comparison_sampler, vec2(1.0, 2.0), 0.5)); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, TextureSampleCompareInAFunction) { + auto* src = R"( +@group(0) @binding(0) var tex : texture_depth_2d; + +@group(0) @binding(1) var samp : sampler_comparison; + +fn f(t : texture_depth_2d, s : sampler_comparison, coords : vec2) -> f32 { + return textureSampleCompare(t, s, coords, 5.0f); +} + +fn main() -> vec4 { + return vec4(f(tex, samp, vec2(1.0, 2.0))); +} +)"; + auto* expect = R"( +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_comparison_sampler : sampler_comparison; + +fn f(t_s : texture_depth_2d, coords : vec2) -> f32 { + return textureSampleCompare(t_s, placeholder_comparison_sampler, coords, 5.0); +} + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex_samp : texture_depth_2d; + +fn main() -> vec4 { + return vec4(f(tex_samp, vec2(1.0, 2.0))); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +TEST_F(CombineSamplersTest, BindingPointCollision) { + auto* src = R"( +@group(1) @binding(0) var tex : texture_2d; + +@group(1) @binding(1) var samp : sampler; + +@group(0) @binding(0) var gcoords : vec2; + +fn main() -> vec4 { + return textureSample(tex, samp, gcoords); +} +)"; + auto* expect = R"( +@group(0) @binding(0) var gcoords : vec2; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var tex_samp : texture_2d; + +@group(0) @binding(0) @internal(disable_validation__binding_point_collision) var placeholder_sampler : sampler; + +fn main() -> vec4 { + return textureSample(tex_samp, placeholder_sampler, gcoords); +} +)"; + + DataMap data; + data.Add(CombineSamplers::BindingMap()); + auto got = Run(src, data); + + EXPECT_EQ(expect, str(got)); +} + +} // namespace +} // namespace transform +} // namespace tint diff --git a/src/transform/glsl.cc b/src/transform/glsl.cc index e2419cd34c..8f51beeeaf 100644 --- a/src/transform/glsl.cc +++ b/src/transform/glsl.cc @@ -19,8 +19,10 @@ #include "src/program_builder.h" #include "src/transform/add_empty_entry_point.h" #include "src/transform/add_spirv_block_decoration.h" +#include "src/transform/binding_remapper.h" #include "src/transform/calculate_array_length.h" #include "src/transform/canonicalize_entry_point_io.h" +#include "src/transform/combine_samplers.h" #include "src/transform/decompose_memory_access.h" #include "src/transform/external_texture_transform.h" #include "src/transform/fold_trivial_single_use_lets.h" @@ -73,6 +75,20 @@ Output Glsl::Run(const Program* in, const DataMap& inputs) { data.Add(cfg->entry_point); } manager.Add(); + manager.Add(); + if (auto* binding_info = inputs.Get()) { + data.Add(*binding_info); + } else { + data.Add(CombineSamplers::BindingMap()); + } + manager.Add(); + if (auto* remappings = inputs.Get()) { + data.Add(*remappings); + } else { + BindingRemapper::BindingPoints bp; + BindingRemapper::AccessControls ac; + data.Add(bp, ac, /* mayCollide */ true); + } manager.Add(); manager.Add(); diff --git a/src/writer/glsl/generator.cc b/src/writer/glsl/generator.cc index 101b7baa30..7cd6d0372a 100644 --- a/src/writer/glsl/generator.cc +++ b/src/writer/glsl/generator.cc @@ -14,6 +14,8 @@ #include "src/writer/glsl/generator.h" +#include "src/transform/binding_remapper.h" +#include "src/transform/combine_samplers.h" #include "src/transform/glsl.h" #include "src/writer/glsl/generator_impl.h" @@ -21,17 +23,25 @@ namespace tint { namespace writer { namespace glsl { +Options::Options() = default; +Options::~Options() = default; +Options::Options(const Options&) = default; + Result::Result() = default; Result::~Result() = default; Result::Result(const Result&) = default; Result Generate(const Program* program, - const Options&, + const Options& options, const std::string& entry_point) { Result result; // Run the GLSL sanitizer. transform::DataMap data; + data.Add(options.binding_points, + options.access_controls, + options.allow_collisions); + data.Add(options.binding_map); data.Add(entry_point); transform::Glsl sanitizer; auto output = sanitizer.Run(program, data); diff --git a/src/writer/glsl/generator.h b/src/writer/glsl/generator.h index 6dad736aa4..b47a5b27a3 100644 --- a/src/writer/glsl/generator.h +++ b/src/writer/glsl/generator.h @@ -17,10 +17,14 @@ #include #include +#include #include #include +#include "src/ast/access.h" #include "src/ast/pipeline_stage.h" +#include "src/sem/binding_point.h" +#include "src/sem/sampler_texture_pair.h" #include "src/writer/text.h" namespace tint { @@ -34,8 +38,35 @@ namespace glsl { // Forward declarations class GeneratorImpl; +using BindingMap = std::unordered_map; + /// Configuration options used for generating GLSL. -struct Options {}; +struct Options { + /// Constructor + Options(); + + /// Destructor + ~Options(); + + /// Copy constructor + Options(const Options&); + + /// A map of SamplerTexturePair to combined sampler names for the + /// CombineSamplers transform + BindingMap binding_map; + + /// A map of old binding point to new binding point for the BindingRemapper + /// transform + std::unordered_map binding_points; + + /// A map of old binding point to new access control for the BindingRemapper + /// transform + std::unordered_map access_controls; + + /// If true, then validation will be disabled for binding point collisions + /// generated by the BindingRemapper transform + bool allow_collisions = false; +}; /// The result produced when generating GLSL. struct Result { diff --git a/src/writer/glsl/generator_impl_intrinsic_texture_test.cc b/src/writer/glsl/generator_impl_intrinsic_texture_test.cc index 56e6104ee6..6026c49e85 100644 --- a/src/writer/glsl/generator_impl_intrinsic_texture_test.cc +++ b/src/writer/glsl/generator_impl_intrinsic_texture_test.cc @@ -64,41 +64,41 @@ ExpectedResult expected_texture_overload( case ValidTextureOverload::kDimensionsStorageWO3d: return {"imageSize"}; case ValidTextureOverload::kGather2dF32: - return R"(textureGather(tint_symbol, vec2(1.0f, 2.0f), 0))"; + return R"(textureGather(tint_symbol_sampler, vec2(1.0f, 2.0f), 0))"; case ValidTextureOverload::kGather2dOffsetF32: - return R"(textureGatherOffset(tint_symbol, vec2(1.0f, 2.0f), ivec2(3, 4), 0))"; + return R"(textureGatherOffset(tint_symbol_sampler, vec2(1.0f, 2.0f), ivec2(3, 4), 0))"; case ValidTextureOverload::kGather2dArrayF32: - return R"(textureGather(tint_symbol, vec3(1.0f, 2.0f, float(3)), 0))"; + return R"(textureGather(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), 0))"; case ValidTextureOverload::kGather2dArrayOffsetF32: - return R"(textureGatherOffset(tint_symbol, vec3(1.0f, 2.0f, float(3)), ivec2(4, 5), 0))"; + return R"(textureGatherOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), ivec2(4, 5), 0))"; case ValidTextureOverload::kGatherCubeF32: - return R"(textureGather(tint_symbol, vec3(1.0f, 2.0f, 3.0f), 0))"; + return R"(textureGather(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), 0))"; case ValidTextureOverload::kGatherCubeArrayF32: - return R"(textureGather(tint_symbol, vec4(1.0f, 2.0f, 3.0f, float(4)), 0))"; + return R"(textureGather(tint_symbol_sampler, vec4(1.0f, 2.0f, 3.0f, float(4)), 0))"; case ValidTextureOverload::kGatherDepth2dF32: - return R"(textureGather(tint_symbol, vec2(1.0f, 2.0f)))"; + return R"(textureGather(tint_symbol_sampler, vec2(1.0f, 2.0f)))"; case ValidTextureOverload::kGatherDepth2dOffsetF32: - return R"(textureGatherOffset(tint_symbol, vec2(1.0f, 2.0f), ivec2(3, 4)))"; + return R"(textureGatherOffset(tint_symbol_sampler, vec2(1.0f, 2.0f), ivec2(3, 4)))"; case ValidTextureOverload::kGatherDepth2dArrayF32: - return R"(textureGather(tint_symbol, vec3(1.0f, 2.0f, float(3))))"; + return R"(textureGather(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3))))"; case ValidTextureOverload::kGatherDepth2dArrayOffsetF32: - return R"(textureGatherOffset(tint_symbol, vec3(1.0f, 2.0f, float(3)), ivec2(4, 5)))"; + return R"(textureGatherOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), ivec2(4, 5)))"; case ValidTextureOverload::kGatherDepthCubeF32: - return R"(textureGather(tint_symbol, vec3(1.0f, 2.0f, 3.0f)))"; + return R"(textureGather(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f)))"; case ValidTextureOverload::kGatherDepthCubeArrayF32: - return R"(textureGather(tint_symbol, vec4(1.0f, 2.0f, 3.0f, float(4))))"; + return R"(textureGather(tint_symbol_sampler, vec4(1.0f, 2.0f, 3.0f, float(4))))"; case ValidTextureOverload::kGatherCompareDepth2dF32: - return R"(textureGather(tint_symbol, vec2(1.0f, 2.0f), 3.0f))"; + return R"(textureGather(tint_symbol_sampler, vec2(1.0f, 2.0f), 3.0f))"; case ValidTextureOverload::kGatherCompareDepth2dOffsetF32: - return R"(textureGatherOffset(tint_symbol, vec2(1.0f, 2.0f), 3.0f, ivec2(4, 5)))"; + return R"(textureGatherOffset(tint_symbol_sampler, vec2(1.0f, 2.0f), 3.0f, ivec2(4, 5)))"; case ValidTextureOverload::kGatherCompareDepth2dArrayF32: - return R"(textureGather(tint_symbol, vec3(1.0f, 2.0f, float(3)), 4.0f))"; + return R"(textureGather(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), 4.0f))"; case ValidTextureOverload::kGatherCompareDepth2dArrayOffsetF32: - return R"(textureGatherOffset(tint_symbol, vec3(1.0f, 2.0f, float(3)), 4.0f, ivec2(5, 6)))"; + return R"(textureGatherOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), 4.0f, ivec2(5, 6)))"; case ValidTextureOverload::kGatherCompareDepthCubeF32: - return R"(textureGather(tint_symbol, vec3(1.0f, 2.0f, 3.0f), 4.0f))"; + return R"(textureGather(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), 4.0f))"; case ValidTextureOverload::kGatherCompareDepthCubeArrayF32: - return R"(textureGather(tint_symbol, vec4(1.0f, 2.0f, 3.0f, float(4)), 5.0f))"; + return R"(textureGather(tint_symbol_sampler, vec4(1.0f, 2.0f, 3.0f, float(4)), 5.0f))"; case ValidTextureOverload::kNumLayers2dArray: case ValidTextureOverload::kNumLayersDepth2dArray: case ValidTextureOverload::kNumLayersCubeArray: @@ -118,151 +118,151 @@ ExpectedResult expected_texture_overload( case ValidTextureOverload::kNumSamplesMultisampled2d: return {"textureSamples"}; case ValidTextureOverload::kSample1dF32: - return R"(texture(tint_symbol, 1.0f);)"; + return R"(texture(tint_symbol_sampler, 1.0f);)"; case ValidTextureOverload::kSample2dF32: - return R"(texture(tint_symbol, vec2(1.0f, 2.0f));)"; + return R"(texture(tint_symbol_sampler, vec2(1.0f, 2.0f));)"; case ValidTextureOverload::kSample2dOffsetF32: - return R"(textureOffset(tint_symbol, vec2(1.0f, 2.0f), ivec2(3, 4));)"; + return R"(textureOffset(tint_symbol_sampler, vec2(1.0f, 2.0f), ivec2(3, 4));)"; case ValidTextureOverload::kSample2dArrayF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, float(3)));)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)));)"; case ValidTextureOverload::kSample2dArrayOffsetF32: - return R"(textureOffset(tint_symbol, vec3(1.0f, 2.0f, float(3)), ivec2(4, 5));)"; + return R"(textureOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), ivec2(4, 5));)"; case ValidTextureOverload::kSample3dF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, 3.0f));)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f));)"; case ValidTextureOverload::kSample3dOffsetF32: - return R"(textureOffset(tint_symbol, vec3(1.0f, 2.0f, 3.0f), ivec3(4, 5, 6));)"; + return R"(textureOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), ivec3(4, 5, 6));)"; case ValidTextureOverload::kSampleCubeF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, 3.0f));)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f));)"; case ValidTextureOverload::kSampleCubeArrayF32: - return R"(texture(tint_symbol, vec4(1.0f, 2.0f, 3.0f, float(4)));)"; + return R"(texture(tint_symbol_sampler, vec4(1.0f, 2.0f, 3.0f, float(4)));)"; case ValidTextureOverload::kSampleDepth2dF32: - return R"(texture(tint_symbol, vec2(1.0f, 2.0f)).x;)"; + return R"(texture(tint_symbol_sampler, vec2(1.0f, 2.0f)).x;)"; case ValidTextureOverload::kSampleDepth2dOffsetF32: - return R"(textureOffset(tint_symbol, vec2(1.0f, 2.0f), ivec2(3, 4)).x;)"; + return R"(textureOffset(tint_symbol_sampler, vec2(1.0f, 2.0f), ivec2(3, 4)).x;)"; case ValidTextureOverload::kSampleDepth2dArrayF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, float(3))).x;)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3))).x;)"; case ValidTextureOverload::kSampleDepth2dArrayOffsetF32: - return R"(textureOffset(tint_symbol, vec3(1.0f, 2.0f, float(3)), ivec2(4, 5)).x;)"; + return R"(textureOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), ivec2(4, 5)).x;)"; case ValidTextureOverload::kSampleDepthCubeF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, 3.0f)).x;)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f)).x;)"; case ValidTextureOverload::kSampleDepthCubeArrayF32: - return R"(texture(tint_symbol, vec4(1.0f, 2.0f, 3.0f, float(4))).x;)"; + return R"(texture(tint_symbol_sampler, vec4(1.0f, 2.0f, 3.0f, float(4))).x;)"; case ValidTextureOverload::kSampleBias2dF32: - return R"(texture(tint_symbol, vec2(1.0f, 2.0f), 3.0f);)"; + return R"(texture(tint_symbol_sampler, vec2(1.0f, 2.0f), 3.0f);)"; case ValidTextureOverload::kSampleBias2dOffsetF32: - return R"(textureOffset(tint_symbol, vec2(1.0f, 2.0f), ivec2(4, 5), 3.0f);)"; + return R"(textureOffset(tint_symbol_sampler, vec2(1.0f, 2.0f), ivec2(4, 5), 3.0f);)"; case ValidTextureOverload::kSampleBias2dArrayF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, float(4)), 3.0f);)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, float(4)), 3.0f);)"; case ValidTextureOverload::kSampleBias2dArrayOffsetF32: - return R"(textureOffset(tint_symbol, vec3(1.0f, 2.0f, float(3)), ivec2(5, 6), 4.0f);)"; + return R"(textureOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), ivec2(5, 6), 4.0f);)"; case ValidTextureOverload::kSampleBias3dF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; case ValidTextureOverload::kSampleBias3dOffsetF32: - return R"(textureOffset(tint_symbol, vec3(1.0f, 2.0f, 3.0f), ivec3(5, 6, 7), 4.0f);)"; + return R"(textureOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), ivec3(5, 6, 7), 4.0f);)"; case ValidTextureOverload::kSampleBiasCubeF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; case ValidTextureOverload::kSampleBiasCubeArrayF32: - return R"(texture(tint_symbol, vec4(1.0f, 2.0f, 3.0f, float(3)), 4.0f);)"; + return R"(texture(tint_symbol_sampler, vec4(1.0f, 2.0f, 3.0f, float(3)), 4.0f);)"; case ValidTextureOverload::kSampleLevel2dF32: - return R"(textureLod(tint_symbol, vec2(1.0f, 2.0f), 3.0f);)"; + return R"(textureLod(tint_symbol_sampler, vec2(1.0f, 2.0f), 3.0f);)"; case ValidTextureOverload::kSampleLevel2dOffsetF32: - return R"(textureLodOffset(tint_symbol, vec2(1.0f, 2.0f), 3.0f, ivec2(4, 5));)"; + return R"(textureLodOffset(tint_symbol_sampler, vec2(1.0f, 2.0f), 3.0f, ivec2(4, 5));)"; case ValidTextureOverload::kSampleLevel2dArrayF32: - return R"(textureLod(tint_symbol, vec3(1.0f, 2.0f, float(3)), 4.0f);)"; + return R"(textureLod(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), 4.0f);)"; case ValidTextureOverload::kSampleLevel2dArrayOffsetF32: - return R"(textureLodOffset(tint_symbol, vec3(1.0f, 2.0f, float(3)), 4.0f, ivec2(5, 6));)"; + return R"(textureLodOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), 4.0f, ivec2(5, 6));)"; case ValidTextureOverload::kSampleLevel3dF32: - return R"(textureLod(tint_symbol, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; + return R"(textureLod(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; case ValidTextureOverload::kSampleLevel3dOffsetF32: - return R"(textureLodOffset(tint_symbol, vec3(1.0f, 2.0f, 3.0f), 4.0f, ivec3(5, 6, 7));)"; + return R"(textureLodOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), 4.0f, ivec3(5, 6, 7));)"; case ValidTextureOverload::kSampleLevelCubeF32: - return R"(textureLod(tint_symbol, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; + return R"(textureLod(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; case ValidTextureOverload::kSampleLevelCubeArrayF32: - return R"(textureLod(tint_symbol, vec4(1.0f, 2.0f, 3.0f, float(4)), 5.0f);)"; + return R"(textureLod(tint_symbol_sampler, vec4(1.0f, 2.0f, 3.0f, float(4)), 5.0f);)"; case ValidTextureOverload::kSampleLevelDepth2dF32: - return R"(textureLod(tint_symbol, vec2(1.0f, 2.0f), 3).x;)"; + return R"(textureLod(tint_symbol_sampler, vec2(1.0f, 2.0f), 3).x;)"; case ValidTextureOverload::kSampleLevelDepth2dOffsetF32: - return R"(textureLodOffset(tint_symbol, vec2(1.0f, 2.0f), 3, ivec2(4, 5)).x;)"; + return R"(textureLodOffset(tint_symbol_sampler, vec2(1.0f, 2.0f), 3, ivec2(4, 5)).x;)"; case ValidTextureOverload::kSampleLevelDepth2dArrayF32: - return R"(textureLod(tint_symbol, vec3(1.0f, 2.0f, float(3)), 4).x;)"; + return R"(textureLod(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), 4).x;)"; case ValidTextureOverload::kSampleLevelDepth2dArrayOffsetF32: - return R"(textureLodOffset(tint_symbol, vec3(1.0f, 2.0f, float(3)), 4, ivec2(5, 6)).x;)"; + return R"(textureLodOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), 4, ivec2(5, 6)).x;)"; case ValidTextureOverload::kSampleLevelDepthCubeF32: - return R"(textureLod(tint_symbol, vec3(1.0f, 2.0f, 3.0f), 4).x;)"; + return R"(textureLod(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), 4).x;)"; case ValidTextureOverload::kSampleLevelDepthCubeArrayF32: - return R"(textureLod(tint_symbol, vec4(1.0f, 2.0f, 3.0f, float(4)), 5).x;)"; + return R"(textureLod(tint_symbol_sampler, vec4(1.0f, 2.0f, 3.0f, float(4)), 5).x;)"; case ValidTextureOverload::kSampleGrad2dF32: - return R"(textureGrad(tint_symbol, vec2(1.0f, 2.0f), vec2(3.0f, 4.0f), vec2(5.0f, 6.0f));)"; + return R"(textureGrad(tint_symbol_sampler, vec2(1.0f, 2.0f), vec2(3.0f, 4.0f), vec2(5.0f, 6.0f));)"; case ValidTextureOverload::kSampleGrad2dOffsetF32: - return R"(textureGradOffset(tint_symbol, vec2(1.0f, 2.0f), vec2(3.0f, 4.0f), vec2(5.0f, 6.0f), ivec2(7, 7));)"; + return R"(textureGradOffset(tint_symbol_sampler, vec2(1.0f, 2.0f), vec2(3.0f, 4.0f), vec2(5.0f, 6.0f), ivec2(7, 7));)"; case ValidTextureOverload::kSampleGrad2dArrayF32: - return R"(textureGrad(tint_symbol, vec3(1.0f, 2.0f, float(3)), vec2(4.0f, 5.0f), vec2(6.0f, 7.0f));)"; + return R"(textureGrad(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), vec2(4.0f, 5.0f), vec2(6.0f, 7.0f));)"; case ValidTextureOverload::kSampleGrad2dArrayOffsetF32: - return R"(textureGradOffset(tint_symbol, vec3(1.0f, 2.0f, float(3)), vec2(4.0f, 5.0f), vec2(6.0f, 7.0f), ivec2(6, 7));)"; + return R"(textureGradOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, float(3)), vec2(4.0f, 5.0f), vec2(6.0f, 7.0f), ivec2(6, 7));)"; case ValidTextureOverload::kSampleGrad3dF32: - return R"(textureGrad(tint_symbol, vec3(1.0f, 2.0f, 3.0f), vec3(4.0f, 5.0f, 6.0f), vec3(7.0f, 8.0f, 9.0f));)"; + return R"(textureGrad(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), vec3(4.0f, 5.0f, 6.0f), vec3(7.0f, 8.0f, 9.0f));)"; case ValidTextureOverload::kSampleGrad3dOffsetF32: - return R"(textureGradOffset(tint_symbol, vec3(1.0f, 2.0f, 3.0f), vec3(4.0f, 5.0f, 6.0f), vec3(7.0f, 8.0f, 9.0f), ivec3(0, 1, 2));)"; + return R"(textureGradOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), vec3(4.0f, 5.0f, 6.0f), vec3(7.0f, 8.0f, 9.0f), ivec3(0, 1, 2));)"; case ValidTextureOverload::kSampleGradCubeF32: - return R"(textureGrad(tint_symbol, vec3(1.0f, 2.0f, 3.0f), vec3(4.0f, 5.0f, 6.0f), vec3(7.0f, 8.0f, 9.0f));)"; + return R"(textureGrad(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), vec3(4.0f, 5.0f, 6.0f), vec3(7.0f, 8.0f, 9.0f));)"; case ValidTextureOverload::kSampleGradCubeArrayF32: - return R"(textureGrad(tint_symbol, vec4(1.0f, 2.0f, 3.0f, float(4)), vec3(5.0f, 6.0f, 7.0f), vec3(8.0f, 9.0f, 10.0f));)"; + return R"(textureGrad(tint_symbol_sampler, vec4(1.0f, 2.0f, 3.0f, float(4)), vec3(5.0f, 6.0f, 7.0f), vec3(8.0f, 9.0f, 10.0f));)"; case ValidTextureOverload::kSampleCompareDepth2dF32: - return R"(texture(tint_symbol, vec2(1.0f, 2.0f), 3.0f);)"; + return R"(texture(tint_symbol_sampler, vec2(1.0f, 2.0f), 3.0f);)"; case ValidTextureOverload::kSampleCompareDepth2dOffsetF32: - return R"(textureOffset(tint_symbol, vec2(1.0f, 2.0f), 3.0f, ivec2(4, 5));)"; + return R"(textureOffset(tint_symbol_sampler, vec2(1.0f, 2.0f), 3.0f, ivec2(4, 5));)"; case ValidTextureOverload::kSampleCompareDepth2dArrayF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, float(4)), 3.0f);)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, float(4)), 3.0f);)"; case ValidTextureOverload::kSampleCompareDepth2dArrayOffsetF32: - return R"(textureOffset(tint_symbol, vec3(1.0f, 2.0f, float(4)), 3.0f, ivec2(5, 6));)"; + return R"(textureOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, float(4)), 3.0f, ivec2(5, 6));)"; case ValidTextureOverload::kSampleCompareDepthCubeF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; case ValidTextureOverload::kSampleCompareDepthCubeArrayF32: - return R"(texture(tint_symbol, vec4(1.0f, 2.0f, 3.0f, float(4)), 5.0f);)"; + return R"(texture(tint_symbol_sampler, vec4(1.0f, 2.0f, 3.0f, float(4)), 5.0f);)"; case ValidTextureOverload::kSampleCompareLevelDepth2dF32: - return R"(texture(tint_symbol, vec2(1.0f, 2.0f), 3.0f);)"; + return R"(texture(tint_symbol_sampler, vec2(1.0f, 2.0f), 3.0f);)"; case ValidTextureOverload::kSampleCompareLevelDepth2dOffsetF32: - return R"(textureOffset(tint_symbol, vec2(1.0f, 2.0f), 3.0f, ivec2(4, 5));)"; + return R"(textureOffset(tint_symbol_sampler, vec2(1.0f, 2.0f), 3.0f, ivec2(4, 5));)"; case ValidTextureOverload::kSampleCompareLevelDepth2dArrayF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, float(4)), 3.0f);)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, float(4)), 3.0f);)"; case ValidTextureOverload::kSampleCompareLevelDepth2dArrayOffsetF32: - return R"(textureOffset(tint_symbol, vec3(1.0f, 2.0f, float(4)), 3.0f, ivec2(5, 6));)"; + return R"(textureOffset(tint_symbol_sampler, vec3(1.0f, 2.0f, float(4)), 3.0f, ivec2(5, 6));)"; case ValidTextureOverload::kSampleCompareLevelDepthCubeF32: - return R"(texture(tint_symbol, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; + return R"(texture(tint_symbol_sampler, vec3(1.0f, 2.0f, 3.0f), 4.0f);)"; case ValidTextureOverload::kSampleCompareLevelDepthCubeArrayF32: - return R"(texture(tint_symbol, vec4(1.0f, 2.0f, 3.0f, float(4)), 5.0f);)"; + return R"(texture(tint_symbol_sampler, vec4(1.0f, 2.0f, 3.0f, float(4)), 5.0f);)"; case ValidTextureOverload::kLoad1dLevelF32: case ValidTextureOverload::kLoad1dLevelU32: case ValidTextureOverload::kLoad1dLevelI32: - return R"(texelFetch(tint_symbol, 1, 3);)"; + return R"(texelFetch(tint_symbol_2, 1, 3);)"; case ValidTextureOverload::kLoad2dLevelF32: case ValidTextureOverload::kLoad2dLevelU32: case ValidTextureOverload::kLoad2dLevelI32: - return R"(texelFetch(tint_symbol, ivec2(1, 2), 3);)"; + return R"(texelFetch(tint_symbol_2, ivec2(1, 2), 3);)"; case ValidTextureOverload::kLoad2dArrayLevelF32: case ValidTextureOverload::kLoad2dArrayLevelU32: case ValidTextureOverload::kLoad2dArrayLevelI32: case ValidTextureOverload::kLoad3dLevelF32: case ValidTextureOverload::kLoad3dLevelU32: case ValidTextureOverload::kLoad3dLevelI32: - return R"(texelFetch(tint_symbol, ivec3(1, 2, 3), 4);)"; + return R"(texelFetch(tint_symbol_2, ivec3(1, 2, 3), 4);)"; case ValidTextureOverload::kLoadDepthMultisampled2dF32: case ValidTextureOverload::kLoadMultisampled2dF32: case ValidTextureOverload::kLoadMultisampled2dU32: case ValidTextureOverload::kLoadMultisampled2dI32: - return R"(texelFetch(tint_symbol, ivec2(1, 2), 3);)"; + return R"(texelFetch(tint_symbol_2, ivec2(1, 2), 3);)"; case ValidTextureOverload::kLoadDepth2dLevelF32: - return R"(texelFetch(tint_symbol, ivec2(1, 2), 3).x;)"; + return R"(texelFetch(tint_symbol_2, ivec2(1, 2), 3).x;)"; case ValidTextureOverload::kLoadDepth2dArrayLevelF32: - return R"(texelFetch(tint_symbol, ivec3(1, 2, 3), 4).x;)"; + return R"(texelFetch(tint_symbol_2, ivec3(1, 2, 3), 4).x;)"; case ValidTextureOverload::kStoreWO1dRgba32float: - return R"(imageStore(tint_symbol, 1, vec4(2.0f, 3.0f, 4.0f, 5.0f));)"; + return R"(imageStore(tint_symbol_2, 1, vec4(2.0f, 3.0f, 4.0f, 5.0f));)"; case ValidTextureOverload::kStoreWO2dRgba32float: - return R"(imageStore(tint_symbol, ivec2(1, 2), vec4(3.0f, 4.0f, 5.0f, 6.0f));)"; + return R"(imageStore(tint_symbol_2, ivec2(1, 2), vec4(3.0f, 4.0f, 5.0f, 6.0f));)"; case ValidTextureOverload::kStoreWO2dArrayRgba32float: - return R"(imageStore(tint_symbol, ivec3(1, 2, 3), vec4(4.0f, 5.0f, 6.0f, 7.0f));)"; + return R"(imageStore(tint_symbol_2, ivec3(1, 2, 3), vec4(4.0f, 5.0f, 6.0f, 7.0f));)"; case ValidTextureOverload::kStoreWO3dRgba32float: - return R"(imageStore(tint_symbol, ivec3(1, 2, 3), vec4(4.0f, 5.0f, 6.0f, 7.0f));)"; + return R"(imageStore(tint_symbol_2, ivec3(1, 2, 3), vec4(4.0f, 5.0f, 6.0f, 7.0f));)"; } return ""; } // NOLINT - Ignore the length of this function diff --git a/test/BUILD.gn b/test/BUILD.gn index 88d6554f43..b14707ae59 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -307,6 +307,7 @@ tint_unittests_source_set("tint_unittests_transform_src") { "../src/transform/binding_remapper_test.cc", "../src/transform/calculate_array_length_test.cc", "../src/transform/canonicalize_entry_point_io_test.cc", + "../src/transform/combine_samplers_test.cc", "../src/transform/decompose_memory_access_test.cc", "../src/transform/decompose_strided_matrix_test.cc", "../src/transform/external_texture_transform_test.cc", diff --git a/test/bug/dawn/947.wgsl.expected.glsl b/test/bug/dawn/947.wgsl.expected.glsl index 3bea768790..366a25df49 100644 --- a/test/bug/dawn/947.wgsl.expected.glsl +++ b/test/bug/dawn/947.wgsl.expected.glsl @@ -80,10 +80,6 @@ struct tint_symbol_3 { vec2 texcoords; vec4 position; }; - - -uniform highp sampler2D myTexture; - struct tint_symbol_5 { vec2 texcoord; }; @@ -91,12 +87,15 @@ struct tint_symbol_6 { vec4 value; }; +uniform highp sampler2D myTexture_mySampler; + + vec4 fs_main_inner(vec2 texcoord) { vec2 clampedTexcoord = clamp(texcoord, vec2(0.0f, 0.0f), vec2(1.0f, 1.0f)); if (!(all(equal(clampedTexcoord, texcoord)))) { discard; } - vec4 srcColor = texture(myTexture, texcoord); + vec4 srcColor = texture(myTexture_mySampler, texcoord); return srcColor; } diff --git a/test/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.glsl b/test/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.glsl index 26706cff15..119cf252f8 100644 --- a/test/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.glsl +++ b/test/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.glsl @@ -1,10 +1,6 @@ #version 310 es precision mediump float; - -uniform highp sampler2D randomTexture; -uniform highp sampler2D depthTexture; - struct tint_symbol_2 { vec2 vUV; }; @@ -12,8 +8,12 @@ struct tint_symbol_3 { vec4 value; }; +uniform highp sampler2D randomTexture_Sampler; +uniform highp sampler2D depthTexture_Sampler; + + vec4 tint_symbol_inner(vec2 vUV) { - vec3 random = texture(randomTexture, vUV).rgb; + vec3 random = texture(randomTexture_Sampler, vUV).rgb; int i = 0; while (true) { if ((i < 1)) { @@ -37,7 +37,7 @@ vec4 tint_symbol_inner(vec2 vUV) { i = (i + 1); continue; } - float sampleDepth = texture(depthTexture, offset.xy).r; + float sampleDepth = texture(depthTexture_Sampler, offset.xy).r; i = (i + 1); } return vec4(1.0f); diff --git a/test/bug/tint/1046.wgsl.expected.glsl b/test/bug/tint/1046.wgsl.expected.glsl index 06f4b1ab3b..4d7308945e 100644 --- a/test/bug/tint/1046.wgsl.expected.glsl +++ b/test/bug/tint/1046.wgsl.expected.glsl @@ -25,8 +25,6 @@ layout (binding = 1) buffer PointLights_1 { PointLight values[]; } pointLights; -uniform highp sampler2D myTexture; - struct FragmentInput { vec4 position; vec4 view_position; @@ -80,7 +78,7 @@ void main() { Error parsing GLSL shader: -ERROR: 0:66: 'color' : redefinition +ERROR: 0:64: 'color' : redefinition ERROR: 1 compilation errors. No code generated. diff --git a/test/bug/tint/413.spvasm.expected.glsl b/test/bug/tint/413.spvasm.expected.glsl index 5bc6dd6054..893d9895c4 100644 --- a/test/bug/tint/413.spvasm.expected.glsl +++ b/test/bug/tint/413.spvasm.expected.glsl @@ -1,16 +1,16 @@ #version 310 es precision mediump float; -uniform highp usampler2D Src; -uniform highp writeonly uimage2D Dst; +uniform highp usampler2D Src_1; +uniform highp writeonly uimage2D Dst_1; void main_1() { uvec4 srcValue = uvec4(0u, 0u, 0u, 0u); - uvec4 x_18 = texelFetch(Src, ivec2(0, 0), 0); + uvec4 x_18 = texelFetch(Src_1, ivec2(0, 0), 0); srcValue = x_18; uint x_22 = srcValue.x; srcValue.x = (x_22 + uint(1)); - imageStore(Dst, ivec2(0, 0), srcValue); + imageStore(Dst_1, ivec2(0, 0), srcValue); return; } diff --git a/test/bug/tint/453.wgsl.expected.glsl b/test/bug/tint/453.wgsl.expected.glsl index 2cb6a7a623..a4d01a29b3 100644 --- a/test/bug/tint/453.wgsl.expected.glsl +++ b/test/bug/tint/453.wgsl.expected.glsl @@ -1,17 +1,17 @@ #version 310 es precision mediump float; -uniform highp usampler2D Src; -uniform highp writeonly uimage2D Dst; +uniform highp usampler2D Src_1; +uniform highp writeonly uimage2D Dst_1; layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { uvec4 srcValue = uvec4(0u, 0u, 0u, 0u); - uvec4 x_22 = texelFetch(Src, ivec2(0, 0), 0); + uvec4 x_22 = texelFetch(Src_1, ivec2(0, 0), 0); srcValue = x_22; uint x_24 = srcValue.x; uint x_25 = (x_24 + 1u); - imageStore(Dst, ivec2(0, 0), srcValue.xxxx); + imageStore(Dst_1, ivec2(0, 0), srcValue.xxxx); return; } void main() { diff --git a/test/bug/tint/534.wgsl.expected.glsl b/test/bug/tint/534.wgsl.expected.glsl index 44c97214b0..bda0d8c171 100644 --- a/test/bug/tint/534.wgsl.expected.glsl +++ b/test/bug/tint/534.wgsl.expected.glsl @@ -8,8 +8,6 @@ struct Uniforms { uint channelCount; }; -uniform highp sampler2D src; -uniform highp sampler2D dst; layout (binding = 2) buffer OutputBuf_1 { uint result[]; } tint_symbol; @@ -28,15 +26,18 @@ struct tint_symbol_3 { uvec3 GlobalInvocationID; }; +uniform highp sampler2D src_1; +uniform highp sampler2D dst_1; + void tint_symbol_1_inner(uvec3 GlobalInvocationID) { - ivec2 size = textureSize(src, 0); + ivec2 size = textureSize(src_1, 0); ivec2 dstTexCoord = ivec2(GlobalInvocationID.xy); ivec2 srcTexCoord = dstTexCoord; if ((uniforms.dstTextureFlipY == 1u)) { srcTexCoord.y = ((size.y - dstTexCoord.y) - 1); } - vec4 srcColor = texelFetch(src, srcTexCoord, 0); - vec4 dstColor = texelFetch(dst, dstTexCoord, 0); + vec4 srcColor = texelFetch(src_1, srcTexCoord, 0); + vec4 dstColor = texelFetch(dst_1, dstTexCoord, 0); bool success = true; uvec4 srcColorBits = uvec4(0u, 0u, 0u, 0u); uvec4 dstColorBits = uvec4(dstColor); diff --git a/test/bug/tint/757.wgsl.expected.glsl b/test/bug/tint/757.wgsl.expected.glsl index 33da240279..a7edd5fccd 100644 --- a/test/bug/tint/757.wgsl.expected.glsl +++ b/test/bug/tint/757.wgsl.expected.glsl @@ -5,8 +5,6 @@ struct Constants { int level; }; -uniform highp sampler2DArray myTexture; - layout (binding = 3) buffer Result_1 { float values[]; } result; @@ -15,10 +13,12 @@ struct tint_symbol_2 { uvec3 GlobalInvocationID; }; +uniform highp sampler2DArray myTexture_1; + void tint_symbol_inner(uvec3 GlobalInvocationID) { uint flatIndex = ((((2u * 2u) * GlobalInvocationID.z) + (2u * GlobalInvocationID.y)) + GlobalInvocationID.x); flatIndex = (flatIndex * 1u); - vec4 texel = texelFetch(myTexture, ivec3(ivec2(GlobalInvocationID.xy), 0), 0); + vec4 texel = texelFetch(myTexture_1, ivec3(ivec2(GlobalInvocationID.xy), 0), 0); { for(uint i = 0u; (i < 1u); i = (i + 1u)) { result.values[(flatIndex + i)] = texel.r; diff --git a/test/bug/tint/827.wgsl.expected.glsl b/test/bug/tint/827.wgsl.expected.glsl index cea22b9156..24a3fb0574 100644 --- a/test/bug/tint/827.wgsl.expected.glsl +++ b/test/bug/tint/827.wgsl.expected.glsl @@ -3,7 +3,6 @@ precision mediump float; const uint width = 128u; -uniform highp sampler2D tex; layout (binding = 1) buffer Result_1 { float values[]; } result; @@ -12,8 +11,10 @@ struct tint_symbol_2 { uvec3 GlobalInvocationId; }; +uniform highp sampler2D tex_1; + void tint_symbol_inner(uvec3 GlobalInvocationId) { - result.values[((GlobalInvocationId.y * width) + GlobalInvocationId.x)] = texelFetch(tex, ivec2(int(GlobalInvocationId.x), int(GlobalInvocationId.y)), 0).x; + result.values[((GlobalInvocationId.y * width) + GlobalInvocationId.x)] = texelFetch(tex_1, ivec2(int(GlobalInvocationId.x), int(GlobalInvocationId.y)), 0).x; } layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; diff --git a/test/bug/tint/913.wgsl.expected.glsl b/test/bug/tint/913.wgsl.expected.glsl index d70e652ef2..dbfc10e989 100644 --- a/test/bug/tint/913.wgsl.expected.glsl +++ b/test/bug/tint/913.wgsl.expected.glsl @@ -9,8 +9,6 @@ struct Uniforms { uvec2 copySize; }; -uniform highp sampler2D src; -uniform highp sampler2D dst; layout (binding = 2) buffer OutputBuf_1 { uint result[]; } tint_symbol; @@ -30,9 +28,12 @@ struct tint_symbol_3 { uvec3 GlobalInvocationID; }; +uniform highp sampler2D src_1; +uniform highp sampler2D dst_1; + void tint_symbol_1_inner(uvec3 GlobalInvocationID) { - ivec2 srcSize = textureSize(src, 0); - ivec2 dstSize = textureSize(dst, 0); + ivec2 srcSize = textureSize(src_1, 0); + ivec2 dstSize = textureSize(dst_1, 0); uvec2 dstTexCoord = uvec2(GlobalInvocationID.xy); vec4 nonCoveredColor = vec4(0.0f, 1.0f, 0.0f, 1.0f); bool success = true; @@ -51,7 +52,7 @@ void tint_symbol_1_inner(uvec3 GlobalInvocationID) { if ((tint_tmp)) { bool tint_tmp_3 = success; if (tint_tmp_3) { - tint_tmp_3 = all(equal(texelFetch(dst, ivec2(dstTexCoord), 0), nonCoveredColor)); + tint_tmp_3 = all(equal(texelFetch(dst_1, ivec2(dstTexCoord), 0), nonCoveredColor)); } success = (tint_tmp_3); } else { @@ -59,8 +60,8 @@ void tint_symbol_1_inner(uvec3 GlobalInvocationID) { if ((uniforms.dstTextureFlipY == 1u)) { srcTexCoord.y = ((uint(srcSize.y) - srcTexCoord.y) - 1u); } - vec4 srcColor = texelFetch(src, ivec2(srcTexCoord), 0); - vec4 dstColor = texelFetch(dst, ivec2(dstTexCoord), 0); + vec4 srcColor = texelFetch(src_1, ivec2(srcTexCoord), 0); + vec4 dstColor = texelFetch(dst_1, ivec2(dstTexCoord), 0); if ((uniforms.channelCount == 2u)) { bool tint_tmp_5 = success; if (tint_tmp_5) { diff --git a/test/bug/tint/942.wgsl.expected.glsl b/test/bug/tint/942.wgsl.expected.glsl index 50c0e13d79..9f74c1df7c 100644 --- a/test/bug/tint/942.wgsl.expected.glsl +++ b/test/bug/tint/942.wgsl.expected.glsl @@ -6,13 +6,10 @@ struct Params { uint blockDim; }; - layout (binding = 1) uniform Params_1 { uint filterDim; uint blockDim; } params; -uniform highp sampler2D inputTex; -uniform highp writeonly image2D outputTex; struct Flip { uint value; @@ -29,6 +26,11 @@ struct tint_symbol_2 { uvec3 WorkGroupID; }; +uniform highp sampler2D inputTex_1; +uniform highp sampler2D inputTex_samp; +uniform highp writeonly image2D outputTex_1; + + void tint_symbol_inner(uvec3 WorkGroupID, uvec3 LocalInvocationID, uint local_invocation_index) { { for(uint idx = local_invocation_index; (idx < 1024u); idx = (idx + 64u)) { @@ -39,7 +41,7 @@ void tint_symbol_inner(uvec3 WorkGroupID, uvec3 LocalInvocationID, uint local_in } memoryBarrierShared(); uint filterOffset = ((params.filterDim - 1u) / 2u); - ivec2 dims = textureSize(inputTex, 0); + ivec2 dims = textureSize(inputTex_1, 0); ivec2 baseIndex = (ivec2(((WorkGroupID.xy * uvec2(params.blockDim, 4u)) + (LocalInvocationID.xy * uvec2(4u, 1u)))) - ivec2(int(filterOffset), 0)); { for(uint r = 0u; (r < 4u); r = (r + 1u)) { @@ -49,7 +51,7 @@ void tint_symbol_inner(uvec3 WorkGroupID, uvec3 LocalInvocationID, uint local_in if ((flip.value != 0u)) { loadIndex = loadIndex.yx; } - tile[r][((4u * LocalInvocationID.x) + c)] = textureLod(inputTex, ((vec2(loadIndex) + vec2(0.25f, 0.25f)) / vec2(dims)), 0.0f).rgb; + tile[r][((4u * LocalInvocationID.x) + c)] = textureLod(inputTex_samp, ((vec2(loadIndex) + vec2(0.25f, 0.25f)) / vec2(dims)), 0.0f).rgb; } } } @@ -80,7 +82,7 @@ void tint_symbol_inner(uvec3 WorkGroupID, uvec3 LocalInvocationID, uint local_in acc = (acc + ((1.0f / float(params.filterDim)) * tile[r][i])); } } - imageStore(outputTex, writeIndex, vec4(acc, 1.0f)); + imageStore(outputTex_1, writeIndex, vec4(acc, 1.0f)); } } } diff --git a/test/bug/tint/948.wgsl.expected.glsl b/test/bug/tint/948.wgsl.expected.glsl index 37c2202bd3..31dc5e12e5 100644 --- a/test/bug/tint/948.wgsl.expected.glsl +++ b/test/bug/tint/948.wgsl.expected.glsl @@ -26,35 +26,33 @@ layout (binding = 9) uniform LeftOver_1 { float spriteCount; vec3 colorMul; } x_20; -uniform highp sampler2D frameMapTexture; - vec2 tUV = vec2(0.0f, 0.0f); -uniform highp sampler2D tileMapsTexture0; - -uniform highp sampler2D tileMapsTexture1; -uniform highp sampler2D animationMapTexture; - float mt = 0.0f; -uniform highp sampler2D spriteSheetTexture; - vec4 glFragColor = vec4(0.0f, 0.0f, 0.0f, 0.0f); vec2 tileID_1 = vec2(0.0f, 0.0f); vec2 levelUnits = vec2(0.0f, 0.0f); vec2 stageUnits_1 = vec2(0.0f, 0.0f); vec3 vPosition = vec3(0.0f, 0.0f, 0.0f); vec2 vUV = vec2(0.0f, 0.0f); +uniform highp sampler2D frameMapTexture_frameMapSampler; + mat4 getFrameData_f1_(inout float frameID) { float fX = 0.0f; float x_15 = frameID; float x_25 = x_20.spriteCount; fX = (x_15 / x_25); - vec4 x_40 = texture(frameMapTexture, vec2(fX, 0.0f), 0.0f); - vec4 x_47 = texture(frameMapTexture, vec2(fX, 0.25f), 0.0f); - vec4 x_54 = texture(frameMapTexture, vec2(fX, 0.5f), 0.0f); + vec4 x_40 = texture(frameMapTexture_frameMapSampler, vec2(fX, 0.0f), 0.0f); + vec4 x_47 = texture(frameMapTexture_frameMapSampler, vec2(fX, 0.25f), 0.0f); + vec4 x_54 = texture(frameMapTexture_frameMapSampler, vec2(fX, 0.5f), 0.0f); return mat4(vec4(x_40.x, x_40.y, x_40.z, x_40.w), vec4(x_47.x, x_47.y, x_47.z, x_47.w), vec4(x_54.x, x_54.y, x_54.z, x_54.w), vec4(vec4(0.0f, 0.0f, 0.0f, 0.0f).x, vec4(0.0f, 0.0f, 0.0f, 0.0f).y, vec4(0.0f, 0.0f, 0.0f, 0.0f).z, vec4(0.0f, 0.0f, 0.0f, 0.0f).w)); } +uniform highp sampler2D tileMapsTexture1_tileMapsSampler; +uniform highp sampler2D tileMapsTexture0_tileMapsSampler; +uniform highp sampler2D animationMapTexture_animationMapSampler; +uniform highp sampler2D spriteSheetTexture_spriteSheetSampler; + void main_1() { vec4 color = vec4(0.0f, 0.0f, 0.0f, 0.0f); vec2 tileUV = vec2(0.0f, 0.0f); @@ -92,14 +90,14 @@ void main_1() { case 1: { vec2 x_150 = tileID; vec2 x_154 = x_20.stageSize; - vec4 x_156 = texture(tileMapsTexture1, ((x_150 + vec2(0.5f, 0.5f)) / x_154), 0.0f); + vec4 x_156 = texture(tileMapsTexture1_tileMapsSampler, ((x_150 + vec2(0.5f, 0.5f)) / x_154), 0.0f); frameID_1 = x_156.x; break; } case 0: { vec2 x_136 = tileID; vec2 x_140 = x_20.stageSize; - vec4 x_142 = texture(tileMapsTexture0, ((x_136 + vec2(0.5f, 0.5f)) / x_140), 0.0f); + vec4 x_142 = texture(tileMapsTexture0_tileMapsSampler, ((x_136 + vec2(0.5f, 0.5f)) / x_140), 0.0f); frameID_1 = x_142.x; break; } @@ -109,7 +107,7 @@ void main_1() { } float x_166 = frameID_1; float x_169 = x_20.spriteCount; - vec4 x_172 = texture(animationMapTexture, vec2(((x_166 + 0.5f) / x_169), 0.0f), 0.0f); + vec4 x_172 = texture(animationMapTexture_animationMapSampler, vec2(((x_166 + 0.5f) / x_169), 0.0f), 0.0f); animationData = x_172; float x_174 = animationData.y; if ((x_174 > 0.0f)) { @@ -127,7 +125,7 @@ void main_1() { } float x_208 = frameID_1; float x_211 = x_20.spriteCount; - vec4 x_217 = texture(animationMapTexture, vec2(((x_208 + 0.5f) / x_211), (0.125f * f)), 0.0f); + vec4 x_217 = texture(animationMapTexture_animationMapSampler, vec2(((x_208 + 0.5f) / x_211), (0.125f * f)), 0.0f); animationData = x_217; } } @@ -149,10 +147,10 @@ void main_1() { tileUV = vec2(x_252.y, x_252.x); } if ((i == 0)) { - vec4 x_268 = texture(spriteSheetTexture, ((tileUV * frameSize) + offset_1)); + vec4 x_268 = texture(spriteSheetTexture_spriteSheetSampler, ((tileUV * frameSize) + offset_1)); color = x_268; } else { - vec4 x_279 = texture(spriteSheetTexture, ((tileUV * frameSize) + offset_1)); + vec4 x_279 = texture(spriteSheetTexture_spriteSheetSampler, ((tileUV * frameSize) + offset_1)); nc = x_279; float x_283 = color.w; float x_285 = nc.w; @@ -229,9 +227,9 @@ void main() { Error parsing GLSL shader: -ERROR: 0:76: 'frac' : no matching overloaded function found -ERROR: 0:76: 'assign' : cannot convert from ' const float' to ' temp mediump 2-component vector of float' -ERROR: 0:76: '' : compilation terminated +ERROR: 0:74: 'frac' : no matching overloaded function found +ERROR: 0:74: 'assign' : cannot convert from ' const float' to ' temp mediump 2-component vector of float' +ERROR: 0:74: '' : compilation terminated ERROR: 3 compilation errors. No code generated. diff --git a/test/bug/tint/949.wgsl.expected.glsl b/test/bug/tint/949.wgsl.expected.glsl index b5ee178699..2467cbbc3f 100644 --- a/test/bug/tint/949.wgsl.expected.glsl +++ b/test/bug/tint/949.wgsl.expected.glsl @@ -30,8 +30,6 @@ struct Light0 { float u_Float = 0.0f; vec3 u_Color = vec3(0.0f, 0.0f, 0.0f); -uniform highp sampler2D TextureSamplerTexture; - vec2 vMainuv = vec2(0.0f, 0.0f); layout (binding = 6) uniform LeftOver_1 { mat4 u_World; @@ -48,8 +46,6 @@ vec4 v_output1 = vec4(0.0f, 0.0f, 0.0f, 0.0f); bool tint_symbol = false; vec2 v_uv = vec2(0.0f, 0.0f); vec4 v_output2 = vec4(0.0f, 0.0f, 0.0f, 0.0f); -uniform highp sampler2D TextureSampler1Texture; - layout (binding = 5) uniform Light0_1 { vec4 vLightData; vec4 vLightDiffuse; @@ -178,6 +174,10 @@ lightingInfo computeHemisphericLighting_vf3_vf3_vf4_vf3_vf3_vf3_f1_(inout vec3 v return result; } +uniform highp sampler2D TextureSamplerTexture_TextureSamplerSampler; +uniform highp sampler2D TextureSampler1Texture_TextureSampler1Sampler; + + void main_1() { vec4 tempTextureRead = vec4(0.0f, 0.0f, 0.0f, 0.0f); vec3 rgb = vec3(0.0f, 0.0f, 0.0f); @@ -234,7 +234,7 @@ void main_1() { vec3 output3 = vec3(0.0f, 0.0f, 0.0f); u_Float = 100.0f; u_Color = vec3(0.5f, 0.5f, 0.5f); - vec4 x_262 = texture(TextureSamplerTexture, vMainuv); + vec4 x_262 = texture(TextureSamplerTexture_TextureSamplerSampler, vMainuv); tempTextureRead = x_262; vec4 x_264 = tempTextureRead; float x_273 = x_269.textureInfoName; @@ -282,7 +282,7 @@ void main_1() { i = 0; { for(; (i < 15); i = (i + 1)) { - vec4 x_397 = texture(TextureSamplerTexture, (v_uv + vCurrOffset)); + vec4 x_397 = texture(TextureSamplerTexture_TextureSamplerSampler, (v_uv + vCurrOffset)); currSampledHeight = x_397.w; if ((currSampledHeight > currRayHeight)) { delta1 = (currSampledHeight - currRayHeight); @@ -300,7 +300,7 @@ void main_1() { } parallaxOcclusion_0 = vCurrOffset; uvOffset = parallaxOcclusion_0; - vec4 x_452 = texture(TextureSamplerTexture, (v_uv + uvOffset)); + vec4 x_452 = texture(TextureSamplerTexture_TextureSamplerSampler, (v_uv + uvOffset)); float x_454 = x_269.u_bumpStrength; param_8 = TBN; param_9 = vec3(x_452.x, x_452.y, x_452.z); @@ -308,7 +308,7 @@ void main_1() { vec3 x_461 = perturbNormal_mf33_vf3_f1_(param_8, param_9, param_10); output4 = vec4(x_461.x, x_461.y, x_461.z, output4.w); output6 = (v_uv + uvOffset); - vec4 x_475 = texture(TextureSampler1Texture, output6); + vec4 x_475 = texture(TextureSampler1Texture_TextureSampler1Sampler, output6); tempTextureRead1 = x_475; vec4 x_477 = tempTextureRead1; rgb1 = vec3(x_477.x, x_477.y, x_477.z); @@ -397,9 +397,9 @@ void main() { Error parsing GLSL shader: -ERROR: 0:73: 'ddx' : no matching overloaded function found -ERROR: 0:73: 'assign' : cannot convert from ' const float' to ' temp mediump 3-component vector of float' -ERROR: 0:73: '' : compilation terminated +ERROR: 0:69: 'ddx' : no matching overloaded function found +ERROR: 0:69: 'assign' : cannot convert from ' const float' to ' temp mediump 3-component vector of float' +ERROR: 0:69: '' : compilation terminated ERROR: 3 compilation errors. No code generated. diff --git a/test/bug/tint/959.wgsl.expected.glsl b/test/bug/tint/959.wgsl.expected.glsl index 6cc913a757..df69308f17 100644 --- a/test/bug/tint/959.wgsl.expected.glsl +++ b/test/bug/tint/959.wgsl.expected.glsl @@ -53,38 +53,6 @@ layout (binding = 1) uniform S_15 { layout (binding = 1) uniform S_16 { float a; } b15; -uniform highp sampler2D t0; -uniform highp sampler2D t1; -uniform highp sampler2D t2; -uniform highp sampler2D t3; -uniform highp sampler2D t4; -uniform highp sampler2D t5; -uniform highp sampler2D t6; -uniform highp sampler2D t7; -uniform highp sampler2D t8; -uniform highp sampler2D t9; -uniform highp sampler2D t10; -uniform highp sampler2D t11; -uniform highp sampler2D t12; -uniform highp sampler2D t13; -uniform highp sampler2D t14; -uniform highp sampler2D t15; - - - - - - - - - - - - - - - - void tint_symbol() { return; diff --git a/test/bug/tint/978.wgsl.expected.glsl b/test/bug/tint/978.wgsl.expected.glsl index fad4bfceb8..e35f95efa9 100644 --- a/test/bug/tint/978.wgsl.expected.glsl +++ b/test/bug/tint/978.wgsl.expected.glsl @@ -7,10 +7,6 @@ struct FragmentInput { struct FragmentOutput { vec4 color; }; - -uniform highp sampler2D depthMap; - - struct tint_symbol_3 { vec2 vUv; }; @@ -18,8 +14,11 @@ struct tint_symbol_4 { vec4 color; }; +uniform highp sampler2D depthMap_texSampler; + + FragmentOutput tint_symbol_inner(FragmentInput fIn) { - float tint_symbol_1 = texture(depthMap, fIn.vUv).x; + float tint_symbol_1 = texture(depthMap_texSampler, fIn.vUv).x; vec3 color = vec3(tint_symbol_1, tint_symbol_1, tint_symbol_1); FragmentOutput fOut = FragmentOutput(vec4(0.0f, 0.0f, 0.0f, 0.0f)); fOut.color = vec4(color, 1.0f); diff --git a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.glsl b/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.glsl index 09337ec17b..7de1a90994 100644 --- a/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.glsl +++ b/test/intrinsics/gen/ignore/2a6ac2.wgsl.expected.glsl @@ -1,81 +1,33 @@ +SKIP: FAILED + intrinsics/gen/ignore/2a6ac2.wgsl:29:3 warning: use of deprecated intrinsic ignore(arg_0); ^^^^^^ -#version 310 es -precision mediump float; -uniform highp sampler2DMS arg_0; +@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d; -void ignore_2a6ac2() { - arg_0; +fn ignore_2a6ac2() { + ignore(arg_0); } -struct tint_symbol { - vec4 value; -}; - -vec4 vertex_main_inner() { +@stage(vertex) +fn vertex_main() -> @builtin(position) vec4 { ignore_2a6ac2(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); + return vec4(); } -tint_symbol vertex_main() { - vec4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f)); - wrapper_result.value = inner_result; - return wrapper_result; -} -void main() { - tint_symbol outputs; - outputs = vertex_main(); - gl_Position = outputs.value; - gl_Position.y = -gl_Position.y; -} - - -#version 310 es -precision mediump float; - -uniform highp sampler2DMS arg_0; - -void ignore_2a6ac2() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -void fragment_main() { +@stage(fragment) +fn fragment_main() { ignore_2a6ac2(); - return; -} -void main() { - fragment_main(); } - -#version 310 es -precision mediump float; - -uniform highp sampler2DMS arg_0; - -void ignore_2a6ac2() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void compute_main() { +@stage(compute) @workgroup_size(1) +fn compute_main() { ignore_2a6ac2(); - return; -} -void main() { - compute_main(); } +Failed to generate: intrinsics/gen/ignore/2a6ac2.wgsl:29:10 error: unknown identifier: 'arg_0' + ignore(arg_0); + ^^^^^ diff --git a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.glsl b/test/intrinsics/gen/ignore/5016e5.wgsl.expected.glsl index 91b05a1825..a58dca4f5b 100644 --- a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.glsl +++ b/test/intrinsics/gen/ignore/5016e5.wgsl.expected.glsl @@ -4,101 +4,30 @@ intrinsics/gen/ignore/5016e5.wgsl:29:3 warning: use of deprecated intrinsic ignore(arg_0); ^^^^^^ -#version 310 es -precision mediump float; +@group(1) @binding(0) var arg_0 : sampler; - -void ignore_5016e5() { - arg_0; +fn ignore_5016e5() { + ignore(arg_0); } -struct tint_symbol { - vec4 value; -}; - -vec4 vertex_main_inner() { +@stage(vertex) +fn vertex_main() -> @builtin(position) vec4 { ignore_5016e5(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); + return vec4(); } -tint_symbol vertex_main() { - vec4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f)); - wrapper_result.value = inner_result; - return wrapper_result; -} -void main() { - tint_symbol outputs; - outputs = vertex_main(); - gl_Position = outputs.value; - gl_Position.y = -gl_Position.y; -} - - -Error parsing GLSL shader: -ERROR: 0:7: 'arg_0' : undeclared identifier -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es -precision mediump float; - - - -void ignore_5016e5() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -void fragment_main() { +@stage(fragment) +fn fragment_main() { ignore_5016e5(); - return; -} -void main() { - fragment_main(); } - -Error parsing GLSL shader: -ERROR: 0:7: 'arg_0' : undeclared identifier -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es -precision mediump float; - - - -void ignore_5016e5() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void compute_main() { +@stage(compute) @workgroup_size(1) +fn compute_main() { ignore_5016e5(); - return; -} -void main() { - compute_main(); } - -Error parsing GLSL shader: -ERROR: 0:7: 'arg_0' : undeclared identifier -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - +Failed to generate: intrinsics/gen/ignore/5016e5.wgsl:29:10 error: unknown identifier: 'arg_0' + ignore(arg_0); + ^^^^^ diff --git a/test/intrinsics/gen/ignore/509355.wgsl.expected.glsl b/test/intrinsics/gen/ignore/509355.wgsl.expected.glsl index 11d49221b9..38db3763bf 100644 --- a/test/intrinsics/gen/ignore/509355.wgsl.expected.glsl +++ b/test/intrinsics/gen/ignore/509355.wgsl.expected.glsl @@ -1,81 +1,33 @@ +SKIP: FAILED + intrinsics/gen/ignore/509355.wgsl:29:3 warning: use of deprecated intrinsic ignore(arg_0); ^^^^^^ -#version 310 es -precision mediump float; -uniform highp samplerCube arg_0; +@group(1) @binding(0) var arg_0 : texture_depth_cube; -void ignore_509355() { - arg_0; +fn ignore_509355() { + ignore(arg_0); } -struct tint_symbol { - vec4 value; -}; - -vec4 vertex_main_inner() { +@stage(vertex) +fn vertex_main() -> @builtin(position) vec4 { ignore_509355(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); + return vec4(); } -tint_symbol vertex_main() { - vec4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f)); - wrapper_result.value = inner_result; - return wrapper_result; -} -void main() { - tint_symbol outputs; - outputs = vertex_main(); - gl_Position = outputs.value; - gl_Position.y = -gl_Position.y; -} - - -#version 310 es -precision mediump float; - -uniform highp samplerCube arg_0; - -void ignore_509355() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -void fragment_main() { +@stage(fragment) +fn fragment_main() { ignore_509355(); - return; -} -void main() { - fragment_main(); } - -#version 310 es -precision mediump float; - -uniform highp samplerCube arg_0; - -void ignore_509355() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void compute_main() { +@stage(compute) @workgroup_size(1) +fn compute_main() { ignore_509355(); - return; -} -void main() { - compute_main(); } +Failed to generate: intrinsics/gen/ignore/509355.wgsl:29:10 error: unknown identifier: 'arg_0' + ignore(arg_0); + ^^^^^ diff --git a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.glsl b/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.glsl index 8f79e31c99..a00047e0f3 100644 --- a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.glsl +++ b/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.glsl @@ -1,81 +1,33 @@ +SKIP: FAILED + intrinsics/gen/ignore/5c9edf.wgsl:29:3 warning: use of deprecated intrinsic ignore(arg_0); ^^^^^^ -#version 310 es -precision mediump float; -uniform highp sampler2D arg_0; +@group(1) @binding(0) var arg_0 : texture_external; -void ignore_5c9edf() { - arg_0; +fn ignore_5c9edf() { + ignore(arg_0); } -struct tint_symbol { - vec4 value; -}; - -vec4 vertex_main_inner() { +@stage(vertex) +fn vertex_main() -> @builtin(position) vec4 { ignore_5c9edf(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); + return vec4(); } -tint_symbol vertex_main() { - vec4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f)); - wrapper_result.value = inner_result; - return wrapper_result; -} -void main() { - tint_symbol outputs; - outputs = vertex_main(); - gl_Position = outputs.value; - gl_Position.y = -gl_Position.y; -} - - -#version 310 es -precision mediump float; - -uniform highp sampler2D arg_0; - -void ignore_5c9edf() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -void fragment_main() { +@stage(fragment) +fn fragment_main() { ignore_5c9edf(); - return; -} -void main() { - fragment_main(); } - -#version 310 es -precision mediump float; - -uniform highp sampler2D arg_0; - -void ignore_5c9edf() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void compute_main() { +@stage(compute) @workgroup_size(1) +fn compute_main() { ignore_5c9edf(); - return; -} -void main() { - compute_main(); } +Failed to generate: intrinsics/gen/ignore/5c9edf.wgsl:29:10 error: unknown identifier: 'arg_0' + ignore(arg_0); + ^^^^^ diff --git a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.glsl b/test/intrinsics/gen/ignore/ad88be.wgsl.expected.glsl index b8116d6201..af97009b96 100644 --- a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.glsl +++ b/test/intrinsics/gen/ignore/ad88be.wgsl.expected.glsl @@ -4,101 +4,30 @@ intrinsics/gen/ignore/ad88be.wgsl:29:3 warning: use of deprecated intrinsic ignore(arg_0); ^^^^^^ -#version 310 es -precision mediump float; -uniform highp samplerCubeArray arg_0; +@group(1) @binding(0) var arg_0 : texture_depth_cube_array; -void ignore_ad88be() { - arg_0; +fn ignore_ad88be() { + ignore(arg_0); } -struct tint_symbol { - vec4 value; -}; - -vec4 vertex_main_inner() { +@stage(vertex) +fn vertex_main() -> @builtin(position) vec4 { ignore_ad88be(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); + return vec4(); } -tint_symbol vertex_main() { - vec4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f)); - wrapper_result.value = inner_result; - return wrapper_result; -} -void main() { - tint_symbol outputs; - outputs = vertex_main(); - gl_Position = outputs.value; - gl_Position.y = -gl_Position.y; -} - - -Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArray' : Reserved word. -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es -precision mediump float; - -uniform highp samplerCubeArray arg_0; - -void ignore_ad88be() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -void fragment_main() { +@stage(fragment) +fn fragment_main() { ignore_ad88be(); - return; -} -void main() { - fragment_main(); } - -Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArray' : Reserved word. -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es -precision mediump float; - -uniform highp samplerCubeArray arg_0; - -void ignore_ad88be() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void compute_main() { +@stage(compute) @workgroup_size(1) +fn compute_main() { ignore_ad88be(); - return; -} -void main() { - compute_main(); } - -Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArray' : Reserved word. -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - +Failed to generate: intrinsics/gen/ignore/ad88be.wgsl:29:10 error: unknown identifier: 'arg_0' + ignore(arg_0); + ^^^^^ diff --git a/test/intrinsics/gen/ignore/b469af.wgsl.expected.glsl b/test/intrinsics/gen/ignore/b469af.wgsl.expected.glsl index 6c593b9934..0f7685f147 100644 --- a/test/intrinsics/gen/ignore/b469af.wgsl.expected.glsl +++ b/test/intrinsics/gen/ignore/b469af.wgsl.expected.glsl @@ -4,101 +4,30 @@ intrinsics/gen/ignore/b469af.wgsl:29:3 warning: use of deprecated intrinsic ignore(arg_0); ^^^^^^ -#version 310 es -precision mediump float; +@group(1) @binding(0) var arg_0 : sampler_comparison; - -void ignore_b469af() { - arg_0; +fn ignore_b469af() { + ignore(arg_0); } -struct tint_symbol { - vec4 value; -}; - -vec4 vertex_main_inner() { +@stage(vertex) +fn vertex_main() -> @builtin(position) vec4 { ignore_b469af(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); + return vec4(); } -tint_symbol vertex_main() { - vec4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f)); - wrapper_result.value = inner_result; - return wrapper_result; -} -void main() { - tint_symbol outputs; - outputs = vertex_main(); - gl_Position = outputs.value; - gl_Position.y = -gl_Position.y; -} - - -Error parsing GLSL shader: -ERROR: 0:7: 'arg_0' : undeclared identifier -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es -precision mediump float; - - - -void ignore_b469af() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -void fragment_main() { +@stage(fragment) +fn fragment_main() { ignore_b469af(); - return; -} -void main() { - fragment_main(); } - -Error parsing GLSL shader: -ERROR: 0:7: 'arg_0' : undeclared identifier -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - -#version 310 es -precision mediump float; - - - -void ignore_b469af() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void compute_main() { +@stage(compute) @workgroup_size(1) +fn compute_main() { ignore_b469af(); - return; -} -void main() { - compute_main(); } - -Error parsing GLSL shader: -ERROR: 0:7: 'arg_0' : undeclared identifier -ERROR: 0:7: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - +Failed to generate: intrinsics/gen/ignore/b469af.wgsl:29:10 error: unknown identifier: 'arg_0' + ignore(arg_0); + ^^^^^ diff --git a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.glsl b/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.glsl index 69ecc99031..2ba2d466c9 100644 --- a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.glsl +++ b/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.glsl @@ -1,81 +1,33 @@ +SKIP: FAILED + intrinsics/gen/ignore/c8a0ee.wgsl:29:3 warning: use of deprecated intrinsic ignore(arg_0); ^^^^^^ -#version 310 es -precision mediump float; -uniform highp sampler2DArray arg_0; +@group(1) @binding(0) var arg_0 : texture_depth_2d_array; -void ignore_c8a0ee() { - arg_0; +fn ignore_c8a0ee() { + ignore(arg_0); } -struct tint_symbol { - vec4 value; -}; - -vec4 vertex_main_inner() { +@stage(vertex) +fn vertex_main() -> @builtin(position) vec4 { ignore_c8a0ee(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); + return vec4(); } -tint_symbol vertex_main() { - vec4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f)); - wrapper_result.value = inner_result; - return wrapper_result; -} -void main() { - tint_symbol outputs; - outputs = vertex_main(); - gl_Position = outputs.value; - gl_Position.y = -gl_Position.y; -} - - -#version 310 es -precision mediump float; - -uniform highp sampler2DArray arg_0; - -void ignore_c8a0ee() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -void fragment_main() { +@stage(fragment) +fn fragment_main() { ignore_c8a0ee(); - return; -} -void main() { - fragment_main(); } - -#version 310 es -precision mediump float; - -uniform highp sampler2DArray arg_0; - -void ignore_c8a0ee() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void compute_main() { +@stage(compute) @workgroup_size(1) +fn compute_main() { ignore_c8a0ee(); - return; -} -void main() { - compute_main(); } +Failed to generate: intrinsics/gen/ignore/c8a0ee.wgsl:29:10 error: unknown identifier: 'arg_0' + ignore(arg_0); + ^^^^^ diff --git a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.glsl b/test/intrinsics/gen/ignore/e0187b.wgsl.expected.glsl index e209270651..00748d4cdb 100644 --- a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.glsl +++ b/test/intrinsics/gen/ignore/e0187b.wgsl.expected.glsl @@ -1,81 +1,33 @@ +SKIP: FAILED + intrinsics/gen/ignore/e0187b.wgsl:29:3 warning: use of deprecated intrinsic ignore(arg_0); ^^^^^^ -#version 310 es -precision mediump float; -uniform highp sampler2D arg_0; +@group(1) @binding(0) var arg_0 : texture_depth_2d; -void ignore_e0187b() { - arg_0; +fn ignore_e0187b() { + ignore(arg_0); } -struct tint_symbol { - vec4 value; -}; - -vec4 vertex_main_inner() { +@stage(vertex) +fn vertex_main() -> @builtin(position) vec4 { ignore_e0187b(); - return vec4(0.0f, 0.0f, 0.0f, 0.0f); + return vec4(); } -tint_symbol vertex_main() { - vec4 inner_result = vertex_main_inner(); - tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f)); - wrapper_result.value = inner_result; - return wrapper_result; -} -void main() { - tint_symbol outputs; - outputs = vertex_main(); - gl_Position = outputs.value; - gl_Position.y = -gl_Position.y; -} - - -#version 310 es -precision mediump float; - -uniform highp sampler2D arg_0; - -void ignore_e0187b() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -void fragment_main() { +@stage(fragment) +fn fragment_main() { ignore_e0187b(); - return; -} -void main() { - fragment_main(); } - -#version 310 es -precision mediump float; - -uniform highp sampler2D arg_0; - -void ignore_e0187b() { - arg_0; -} - -struct tint_symbol { - vec4 value; -}; - -layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; -void compute_main() { +@stage(compute) @workgroup_size(1) +fn compute_main() { ignore_e0187b(); - return; -} -void main() { - compute_main(); } +Failed to generate: intrinsics/gen/ignore/e0187b.wgsl:29:10 error: unknown identifier: 'arg_0' + ignore(arg_0); + ^^^^^ diff --git a/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.glsl index 9b03989038..f0e4606acc 100644 --- a/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureDimensions_002b2a() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureDimensions_002b2a() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureDimensions_002b2a() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl index d7e382b201..12cbfac9ba 100644 --- a/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_012b82() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_012b82() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_012b82() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl index 7b6ddd3600..4dddbd1a1f 100644 --- a/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_08753d() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_08753d() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_08753d() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl index 47ea770976..7801d7b6b1 100644 --- a/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_0c4772() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_0c4772() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_0c4772() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl index b38c86fea3..94b8cb7e31 100644 --- a/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_0cce40() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_0cce40() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_0cce40() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl index 3aa1e4499b..3d88177f82 100644 --- a/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_0cf2ff() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_0cf2ff() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_0cf2ff() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl index 063525fbf4..b4c615b36c 100644 --- a/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_0d8b7e() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_0d8b7e() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_0d8b7e() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl index 7cca22f4ca..4145cbeb55 100644 --- a/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_0e32ee() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_0e32ee() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_0e32ee() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.glsl index deb60b064b..0c302bbff0 100644 --- a/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureDimensions_0f3c50() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureDimensions_0f3c50() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureDimensions_0f3c50() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.glsl index 5acdae34c7..00c30afbdd 100644 --- a/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureDimensions_1191a5() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureDimensions_1191a5() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureDimensions_1191a5() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.glsl index 8ae5edaf68..e082710de9 100644 --- a/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_12c9bb() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_12c9bb() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_12c9bb() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl index 436e19faae..65b3a35eb4 100644 --- a/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_147998() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_147998() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_147998() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.glsl index 47bfbb9560..eee836b2f5 100644 --- a/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_16036c() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_16036c() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_16036c() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl index 140fb96ca1..c2a963f477 100644 --- a/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_1b71f0() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_1b71f0() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_1b71f0() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl index d07e8bd0fa..2cd5a299d1 100644 --- a/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_1d6c26() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_1d6c26() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_1d6c26() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl index 01f35bbebf..73f9123abd 100644 --- a/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_1e9e39() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_1e9e39() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_1e9e39() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.glsl index 98e26b9d8b..eb97808de9 100644 --- a/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureDimensions_1f20c5() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureDimensions_1f20c5() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureDimensions_1f20c5() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl index c5d4bd9c44..47895697ab 100644 --- a/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_214dd4() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_214dd4() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_214dd4() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/221f22.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/221f22.wgsl.expected.glsl index 997fdbf12a..f34e49ab63 100644 --- a/test/intrinsics/gen/textureDimensions/221f22.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/221f22.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureDimensions_221f22() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureDimensions_221f22() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureDimensions_221f22() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.glsl index 2a38ed1f86..1563989d42 100644 --- a/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureDimensions_267788() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureDimensions_267788() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureDimensions_267788() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.glsl index c11a1bac90..88fb909135 100644 --- a/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureDimensions_26bdfa() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureDimensions_26bdfa() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureDimensions_26bdfa() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl index bff5392743..22fc691cb5 100644 --- a/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_26ef6c() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_26ef6c() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_26ef6c() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl index 63a9d19a68..30f6172e50 100644 --- a/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_2ad087() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_2ad087() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_2ad087() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.glsl index 7fb5c3aba1..8f88fda41d 100644 --- a/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureDimensions_2efa05() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureDimensions_2efa05() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureDimensions_2efa05() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl index 41213b94c6..e29828825d 100644 --- a/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_2f289f() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_2f289f() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_2f289f() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.glsl index 44c41df383..90e48b05bb 100644 --- a/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_2fe1cc() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_2fe1cc() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_2fe1cc() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl index 5bb035e091..ce0aa37c9d 100644 --- a/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_318ecc() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_318ecc() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_318ecc() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl index ae0b0d1668..f84cf9fcc5 100644 --- a/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_340d06() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_340d06() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_340d06() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl index f01ccff34f..89d737d179 100644 --- a/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_398e30() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_398e30() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_398e30() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl index 9e61b93df6..8ac756704f 100644 --- a/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_3a94ea() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_3a94ea() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_3a94ea() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.glsl index 838aa42a06..8ec6e78a96 100644 --- a/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_3aca08() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_3aca08() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_3aca08() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl index e46b1a4c63..56d7055c2a 100644 --- a/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_3c5ad8() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_3c5ad8() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_3c5ad8() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/4152a6.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/4152a6.wgsl.expected.glsl index c155b41b2d..5176f09d4a 100644 --- a/test/intrinsics/gen/textureDimensions/4152a6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/4152a6.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureDimensions_4152a6() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureDimensions_4152a6() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureDimensions_4152a6() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.glsl index 074ff26900..fbf1d021bb 100644 --- a/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureDimensions_423f99() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureDimensions_423f99() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureDimensions_423f99() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl index 58078cc4f7..618a9a847c 100644 --- a/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_4267ee() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_4267ee() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_4267ee() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl index 91753ec39b..162868b2e9 100644 --- a/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_42d4e6() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_42d4e6() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_42d4e6() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl index ba67ed68c9..6552d59232 100644 --- a/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_48cb89() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_48cb89() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_48cb89() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl index fe5fe75521..0c1669a527 100644 --- a/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_49d274() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_49d274() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_49d274() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.glsl index 82d19744d1..a621b08d13 100644 --- a/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_4df9a8() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_4df9a8() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_4df9a8() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/50a9ee.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/50a9ee.wgsl.expected.glsl index 412ba50a5d..1745af4c19 100644 --- a/test/intrinsics/gen/textureDimensions/50a9ee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/50a9ee.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_50a9ee() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_50a9ee() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_50a9ee() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/52045c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/52045c.wgsl.expected.glsl index e7a1937822..709d1047c5 100644 --- a/test/intrinsics/gen/textureDimensions/52045c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/52045c.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureDimensions_52045c() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureDimensions_52045c() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureDimensions_52045c() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl index 446361a8e4..7e42c6a38d 100644 --- a/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_55b23e() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_55b23e() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_55b23e() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/579629.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/579629.wgsl.expected.glsl index e708085510..b8af02f5ea 100644 --- a/test/intrinsics/gen/textureDimensions/579629.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/579629.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usampler2DMS arg_0; +uniform highp usampler2DMS arg_0_1; void textureDimensions_579629() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DMS arg_0; +uniform highp usampler2DMS arg_0_1; void textureDimensions_579629() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DMS arg_0; +uniform highp usampler2DMS arg_0_1; void textureDimensions_579629() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl index ae3e70d79a..4a213638ef 100644 --- a/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_57da0b() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_57da0b() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_57da0b() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/57e28f.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/57e28f.wgsl.expected.glsl index bbc2d409d2..1619887275 100644 --- a/test/intrinsics/gen/textureDimensions/57e28f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/57e28f.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_57e28f() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_57e28f() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_57e28f() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl index dcbe2db86c..7c3e45e8ba 100644 --- a/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_58a515() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_58a515() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_58a515() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl index f947c8a832..96f1e2c6b9 100644 --- a/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_5985f3() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_5985f3() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_5985f3() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl index 9cc48d7a2b..6c878f6c6d 100644 --- a/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_5caa5e() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_5caa5e() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_5caa5e() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl index 4d1c04cd5d..5cb0394f0d 100644 --- a/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_5e295d() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_5e295d() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_5e295d() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl index b197f2c8d9..3b3f72fe9d 100644 --- a/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_60bf54() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_60bf54() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_60bf54() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.glsl index 1432692908..723e36a08d 100644 --- a/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_63f3cf() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_63f3cf() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_63f3cf() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.glsl index 46638eb13a..e5d5a1bd73 100644 --- a/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_68105c() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_68105c() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_68105c() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/686ef2.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/686ef2.wgsl.expected.glsl index 8a5b7055b4..f2855b46a0 100644 --- a/test/intrinsics/gen/textureDimensions/686ef2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/686ef2.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isamplerCube arg_0; +uniform highp isamplerCube arg_0_1; void textureDimensions_686ef2() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isamplerCube arg_0; +uniform highp isamplerCube arg_0_1; void textureDimensions_686ef2() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isamplerCube arg_0; +uniform highp isamplerCube arg_0_1; void textureDimensions_686ef2() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl index d658f91867..f1509d10cb 100644 --- a/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_6adac6() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_6adac6() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_6adac6() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.glsl index 27faa0753d..42379c297d 100644 --- a/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureDimensions_6ec1b4() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureDimensions_6ec1b4() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureDimensions_6ec1b4() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl index 733c81b924..95a369b59b 100644 --- a/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_6f0d79() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_6f0d79() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_6f0d79() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl index c64e9bd790..873c7c73c8 100644 --- a/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_702c53() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_702c53() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_702c53() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.glsl index 3a7fd3fd5e..f6ef9e2162 100644 --- a/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_72e5d6() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_72e5d6() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_72e5d6() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/79df87.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/79df87.wgsl.expected.glsl index 4ed8cd6404..c658710648 100644 --- a/test/intrinsics/gen/textureDimensions/79df87.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/79df87.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureDimensions_79df87() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureDimensions_79df87() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureDimensions_79df87() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.glsl index f27df229a7..35866ee6fb 100644 --- a/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_7bf826() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_7bf826() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_7bf826() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl index e96b1a956f..2139896208 100644 --- a/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_7f5c2e() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_7f5c2e() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_7f5c2e() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.glsl index bcf1d436a2..a9d7b4f811 100644 --- a/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_8028f3() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_8028f3() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_8028f3() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl index 91597d0d31..bd3900d233 100644 --- a/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_811679() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_811679() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_811679() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl index 335d6e5168..507a0d452f 100644 --- a/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_820596() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_820596() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_820596() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.glsl index dc556cb351..a1f321c685 100644 --- a/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_83ee5a() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_83ee5a() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_83ee5a() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.glsl index 2ec3beaf68..2ae2c9de3c 100644 --- a/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_85d556() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_85d556() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_85d556() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/88ad17.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/88ad17.wgsl.expected.glsl index cffced65e4..eeece9c1e6 100644 --- a/test/intrinsics/gen/textureDimensions/88ad17.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/88ad17.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usamplerCube arg_0; +uniform highp usamplerCube arg_0_1; void textureDimensions_88ad17() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usamplerCube arg_0; +uniform highp usamplerCube arg_0_1; void textureDimensions_88ad17() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usamplerCube arg_0; +uniform highp usamplerCube arg_0_1; void textureDimensions_88ad17() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.glsl index d0d8f5e610..4afb1ea6e5 100644 --- a/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureDimensions_8aa4c4() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureDimensions_8aa4c4() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureDimensions_8aa4c4() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.glsl index a695efb44a..c10bbd3c20 100644 --- a/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureDimensions_8deb5e() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureDimensions_8deb5e() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureDimensions_8deb5e() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/8f20bf.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/8f20bf.wgsl.expected.glsl index 6cef100c73..ed5bffa107 100644 --- a/test/intrinsics/gen/textureDimensions/8f20bf.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8f20bf.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_8f20bf() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_8f20bf() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_8f20bf() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl index eba0cd1949..25d5e6f14a 100644 --- a/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_8fca0f() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_8fca0f() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_8fca0f() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/90340b.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/90340b.wgsl.expected.glsl index d74cc02376..5fd0bb1fa6 100644 --- a/test/intrinsics/gen/textureDimensions/90340b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/90340b.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_90340b() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_90340b() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_90340b() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl index c1d0dbd102..3a03145842 100644 --- a/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_9042ab() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_9042ab() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureDimensions_9042ab() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/9393b0.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9393b0.wgsl.expected.glsl index 9e76a5710b..31c65e83f2 100644 --- a/test/intrinsics/gen/textureDimensions/9393b0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9393b0.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_9393b0() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_9393b0() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_9393b0() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.glsl index 9b8ac545ad..a5f727a79e 100644 --- a/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_939fdb() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_939fdb() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_939fdb() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/962dcd.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/962dcd.wgsl.expected.glsl index 80879c8684..030a7f8328 100644 --- a/test/intrinsics/gen/textureDimensions/962dcd.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/962dcd.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isamplerCube arg_0; +uniform highp isamplerCube arg_0_1; void textureDimensions_962dcd() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isamplerCube arg_0; +uniform highp isamplerCube arg_0_1; void textureDimensions_962dcd() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isamplerCube arg_0; +uniform highp isamplerCube arg_0_1; void textureDimensions_962dcd() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.glsl index a89ff646ca..9d4a2d66ee 100644 --- a/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_9abfe5() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_9abfe5() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_9abfe5() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.glsl index a26181345d..ee080fed9f 100644 --- a/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureDimensions_9c9c57() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureDimensions_9c9c57() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureDimensions_9c9c57() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl index 29d3e31d67..755e8ffe32 100644 --- a/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_9da9e2() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_9da9e2() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_9da9e2() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl index 6989fd951f..2fa2f6217f 100644 --- a/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_9eb8d8() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_9eb8d8() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_9eb8d8() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.glsl index 47bc8903a7..fc5577bb96 100644 --- a/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_9f8e46() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_9f8e46() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_9f8e46() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/a01845.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/a01845.wgsl.expected.glsl index e839b90de1..18a2339925 100644 --- a/test/intrinsics/gen/textureDimensions/a01845.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/a01845.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_a01845() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_a01845() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureDimensions_a01845() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.glsl index 72208eaab8..3b9e347781 100644 --- a/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureDimensions_a7d565() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureDimensions_a7d565() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureDimensions_a7d565() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl index 7dbc256439..cabacd5aad 100644 --- a/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_a863f2() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_a863f2() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_a863f2() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/a9c9c1.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/a9c9c1.wgsl.expected.glsl index 0d0101f07d..8cb9404940 100644 --- a/test/intrinsics/gen/textureDimensions/a9c9c1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/a9c9c1.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_a9c9c1() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_a9c9c1() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_a9c9c1() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.glsl index 45b35df860..f03fc04266 100644 --- a/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureDimensions_b0e16d() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureDimensions_b0e16d() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureDimensions_b0e16d() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/b3c954.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/b3c954.wgsl.expected.glsl index b88a82b5f5..983e3cad0e 100644 --- a/test/intrinsics/gen/textureDimensions/b3c954.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/b3c954.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usamplerCube arg_0; +uniform highp usamplerCube arg_0_1; void textureDimensions_b3c954() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usamplerCube arg_0; +uniform highp usamplerCube arg_0_1; void textureDimensions_b3c954() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usamplerCube arg_0; +uniform highp usamplerCube arg_0_1; void textureDimensions_b3c954() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/b3e407.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/b3e407.wgsl.expected.glsl index 992dfcb143..5a83f5ae29 100644 --- a/test/intrinsics/gen/textureDimensions/b3e407.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/b3e407.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureDimensions_b3e407() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureDimensions_b3e407() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureDimensions_b3e407() { - int res = textureSize(arg_0, 0); + int res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl index e177092e57..595245ae0f 100644 --- a/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_b91240() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_b91240() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_b91240() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.glsl index b7eecc6450..a63ec0b3d8 100644 --- a/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_ba1481() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_ba1481() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureDimensions_ba1481() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl index 9c3370d8dd..0aaf8a47a9 100644 --- a/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_bb3dde() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_bb3dde() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureDimensions_bb3dde() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl index d62618d39f..8d35883a41 100644 --- a/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_c30e75() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_c30e75() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureDimensions_c30e75() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl index bc6c6a2276..3c6c9fc8b4 100644 --- a/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_c7943d() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_c7943d() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureDimensions_c7943d() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl index cc7c50b77f..f214fad7ea 100644 --- a/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_cc968c() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_cc968c() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureDimensions_cc968c() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.glsl index 5171d34508..8f3220fb8b 100644 --- a/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_cccc8f() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_cccc8f() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureDimensions_cccc8f() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl index 4706335e5a..9f25caa52b 100644 --- a/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_cd76a7() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_cd76a7() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_cd76a7() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl index 7a1789b137..c7221d7fa7 100644 --- a/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_cdf473() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_cdf473() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureDimensions_cdf473() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.glsl index 5007544d7d..9f1194f1d6 100644 --- a/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_cec841() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_cec841() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureDimensions_cec841() { - ivec2 res = textureSize(arg_0, 0).xy; + ivec2 res = textureSize(arg_0_1, 0).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl index d2c9448bfc..efe4df9981 100644 --- a/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_cf7e43() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_cf7e43() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureDimensions_cf7e43() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/d125bc.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/d125bc.wgsl.expected.glsl index 60444f2631..cfe164c3a4 100644 --- a/test/intrinsics/gen/textureDimensions/d125bc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/d125bc.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_d125bc() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_d125bc() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureDimensions_d125bc() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/d83c45.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/d83c45.wgsl.expected.glsl index 5c2fd79eb7..b7f3106e75 100644 --- a/test/intrinsics/gen/textureDimensions/d83c45.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/d83c45.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureDimensions_d83c45() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureDimensions_d83c45() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureDimensions_d83c45() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/daf7c0.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/daf7c0.wgsl.expected.glsl index 9a6fa2a894..d82ea38072 100644 --- a/test/intrinsics/gen/textureDimensions/daf7c0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/daf7c0.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isampler2DMS arg_0; +uniform highp isampler2DMS arg_0_1; void textureDimensions_daf7c0() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DMS arg_0; +uniform highp isampler2DMS arg_0_1; void textureDimensions_daf7c0() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DMS arg_0; +uniform highp isampler2DMS arg_0_1; void textureDimensions_daf7c0() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl index 7e644bea64..030340837f 100644 --- a/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_dc2dd0() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_dc2dd0() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureDimensions_dc2dd0() { - int res = imageSize(arg_0); + int res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/e927be.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/e927be.wgsl.expected.glsl index f2b21909a5..d92c29cec3 100644 --- a/test/intrinsics/gen/textureDimensions/e927be.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/e927be.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureDimensions_e927be() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureDimensions_e927be() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureDimensions_e927be() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl index 1d68700db3..d03330afcc 100644 --- a/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_e9e96c() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_e9e96c() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_e9e96c() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/ef5b89.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/ef5b89.wgsl.expected.glsl index 1e0aa5592a..22e4adc516 100644 --- a/test/intrinsics/gen/textureDimensions/ef5b89.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/ef5b89.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureDimensions_ef5b89() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureDimensions_ef5b89() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureDimensions_ef5b89() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.glsl index ef095bb59c..48dc98fa27 100644 --- a/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureDimensions_efc8a4() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureDimensions_efc8a4() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureDimensions_efc8a4() { - ivec3 res = textureSize(arg_0, 0); + ivec3 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/f60bdb.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/f60bdb.wgsl.expected.glsl index c354540ffc..67bd2367fb 100644 --- a/test/intrinsics/gen/textureDimensions/f60bdb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/f60bdb.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureDimensions_f60bdb() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureDimensions_f60bdb() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureDimensions_f60bdb() { - ivec2 res = textureSize(arg_0); + ivec2 res = textureSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.glsl index f07f77453e..3a5deaf4ff 100644 --- a/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureDimensions_f7145b() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureDimensions_f7145b() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureDimensions_f7145b() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl index 9ced198712..f037d02f77 100644 --- a/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_f931c7() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_f931c7() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureDimensions_f931c7() { - ivec2 res = imageSize(arg_0); + ivec2 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.glsl index f264bfc9ca..24ba5d0bbf 100644 --- a/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureDimensions_fa9859() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureDimensions_fa9859() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureDimensions_fa9859() { - ivec2 res = textureSize(arg_0, 0); + ivec2 res = textureSize(arg_0_1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl index ceb91ec631..142e2138e8 100644 --- a/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_fb5670() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_fb5670() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureDimensions_fb5670() { - ivec2 res = imageSize(arg_0).xy; + ivec2 res = imageSize(arg_0_1).xy; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.glsl b/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.glsl index 35f375dc3e..563a1fdc69 100644 --- a/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_fcac78() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_fcac78() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureDimensions_fcac78() { - ivec3 res = imageSize(arg_0); + ivec3 res = imageSize(arg_0_1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/01305f.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/01305f.wgsl.expected.glsl index 7a031c76e3..538ccefcbf 100644 --- a/test/intrinsics/gen/textureGather/01305f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/01305f.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp usampler2DArray arg_1; +uniform highp usampler2DArray arg_1_arg_2; void textureGather_01305f() { - uvec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, float(1)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DArray arg_1; +uniform highp usampler2DArray arg_1_arg_2; void textureGather_01305f() { - uvec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, float(1)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DArray arg_1; +uniform highp usampler2DArray arg_1_arg_2; void textureGather_01305f() { - uvec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, float(1)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/06030a.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/06030a.wgsl.expected.glsl index a991654d37..6011ea7406 100644 --- a/test/intrinsics/gen/textureGather/06030a.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/06030a.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_1; +uniform highp sampler2DArray arg_1_arg_2; void textureGather_06030a() { - vec4 res = textureGatherOffset(arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); + vec4 res = textureGatherOffset(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_1; +uniform highp sampler2DArray arg_1_arg_2; void textureGather_06030a() { - vec4 res = textureGatherOffset(arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); + vec4 res = textureGatherOffset(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_1; +uniform highp sampler2DArray arg_1_arg_2; void textureGather_06030a() { - vec4 res = textureGatherOffset(arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); + vec4 res = textureGatherOffset(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/10c554.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/10c554.wgsl.expected.glsl index 46ae57fbb6..1a7be7ae1d 100644 --- a/test/intrinsics/gen/textureGather/10c554.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/10c554.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureGather_10c554() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureGather_10c554() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureGather_10c554() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/15d79c.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/15d79c.wgsl.expected.glsl index ab48779764..31c0d214b9 100644 --- a/test/intrinsics/gen/textureGather/15d79c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/15d79c.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_1; +uniform highp sampler2D arg_1_arg_2; void textureGather_15d79c() { - vec4 res = textureGatherOffset(arg_1, vec2(0.0f, 0.0f), ivec2(0, 0), 1); + vec4 res = textureGatherOffset(arg_1_arg_2, vec2(0.0f, 0.0f), ivec2(0, 0), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_1; +uniform highp sampler2D arg_1_arg_2; void textureGather_15d79c() { - vec4 res = textureGatherOffset(arg_1, vec2(0.0f, 0.0f), ivec2(0, 0), 1); + vec4 res = textureGatherOffset(arg_1_arg_2, vec2(0.0f, 0.0f), ivec2(0, 0), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_1; +uniform highp sampler2D arg_1_arg_2; void textureGather_15d79c() { - vec4 res = textureGatherOffset(arg_1, vec2(0.0f, 0.0f), ivec2(0, 0), 1); + vec4 res = textureGatherOffset(arg_1_arg_2, vec2(0.0f, 0.0f), ivec2(0, 0), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/2e0ed5.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/2e0ed5.wgsl.expected.glsl index 6bd8ee0e72..ebf283e450 100644 --- a/test/intrinsics/gen/textureGather/2e0ed5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/2e0ed5.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGather_2e0ed5() { - vec4 res = textureGather(arg_0, vec2(0.0f, 0.0f)); + vec4 res = textureGather(arg_0_arg_1, vec2(0.0f, 0.0f)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGather_2e0ed5() { - vec4 res = textureGather(arg_0, vec2(0.0f, 0.0f)); + vec4 res = textureGather(arg_0_arg_1, vec2(0.0f, 0.0f)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGather_2e0ed5() { - vec4 res = textureGather(arg_0, vec2(0.0f, 0.0f)); + vec4 res = textureGather(arg_0_arg_1, vec2(0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/3112e8.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/3112e8.wgsl.expected.glsl index 426e0c71d5..054f2129cf 100644 --- a/test/intrinsics/gen/textureGather/3112e8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/3112e8.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_1; +uniform highp samplerCubeArray arg_1_arg_2; void textureGather_3112e8() { - vec4 res = textureGather(arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_1; +uniform highp samplerCubeArray arg_1_arg_2; void textureGather_3112e8() { - vec4 res = textureGather(arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_1; +uniform highp samplerCubeArray arg_1_arg_2; void textureGather_3112e8() { - vec4 res = textureGather(arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + vec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/3c527e.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/3c527e.wgsl.expected.glsl index f21e631306..d92418bece 100644 --- a/test/intrinsics/gen/textureGather/3c527e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/3c527e.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_1; +uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_3c527e() { - uvec4 res = textureGather(arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_1; +uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_3c527e() { - uvec4 res = textureGather(arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_1; +uniform highp usamplerCubeArray arg_1_arg_2; void textureGather_3c527e() { - uvec4 res = textureGather(arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + uvec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/43025d.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/43025d.wgsl.expected.glsl index 7e21d06ed1..e6aafc501e 100644 --- a/test/intrinsics/gen/textureGather/43025d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/43025d.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureGather_43025d() { - vec4 res = textureGather(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1))); + vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1))); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureGather_43025d() { - vec4 res = textureGather(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1))); + vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1))); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureGather_43025d() { - vec4 res = textureGather(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1))); + vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1))); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/4f2350.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/4f2350.wgsl.expected.glsl index 8ee98e245f..be595e8ec3 100644 --- a/test/intrinsics/gen/textureGather/4f2350.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/4f2350.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp isampler2DArray arg_1; +uniform highp isampler2DArray arg_1_arg_2; void textureGather_4f2350() { - ivec4 res = textureGatherOffset(arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); + ivec4 res = textureGatherOffset(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DArray arg_1; +uniform highp isampler2DArray arg_1_arg_2; void textureGather_4f2350() { - ivec4 res = textureGatherOffset(arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); + ivec4 res = textureGatherOffset(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DArray arg_1; +uniform highp isampler2DArray arg_1_arg_2; void textureGather_4f2350() { - ivec4 res = textureGatherOffset(arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); + ivec4 res = textureGatherOffset(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/51cf0b.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/51cf0b.wgsl.expected.glsl index 93de69e197..96f60fe44c 100644 --- a/test/intrinsics/gen/textureGather/51cf0b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/51cf0b.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp isampler2DArray arg_1; +uniform highp isampler2DArray arg_1_arg_2; void textureGather_51cf0b() { - ivec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, float(1)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DArray arg_1; +uniform highp isampler2DArray arg_1_arg_2; void textureGather_51cf0b() { - ivec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, float(1)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DArray arg_1; +uniform highp isampler2DArray arg_1_arg_2; void textureGather_51cf0b() { - ivec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, float(1)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/53ece6.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/53ece6.wgsl.expected.glsl index 3f90891bbd..3609d3b7cc 100644 --- a/test/intrinsics/gen/textureGather/53ece6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/53ece6.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGather_53ece6() { - vec4 res = textureGatherOffset(arg_0, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGather_53ece6() { - vec4 res = textureGatherOffset(arg_0, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGather_53ece6() { - vec4 res = textureGatherOffset(arg_0, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/57bfc6.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/57bfc6.wgsl.expected.glsl index dafde3ea35..2248d181f4 100644 --- a/test/intrinsics/gen/textureGather/57bfc6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/57bfc6.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp samplerCube arg_1; +uniform highp samplerCube arg_1_arg_2; void textureGather_57bfc6() { - vec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, 0.0f), 1); + vec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, 0.0f), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_1; +uniform highp samplerCube arg_1_arg_2; void textureGather_57bfc6() { - vec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, 0.0f), 1); + vec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, 0.0f), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_1; +uniform highp samplerCube arg_1_arg_2; void textureGather_57bfc6() { - vec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, 0.0f), 1); + vec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, 0.0f), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/587ba3.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/587ba3.wgsl.expected.glsl index c41e2bf331..dd2da9d00b 100644 --- a/test/intrinsics/gen/textureGather/587ba3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/587ba3.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp isampler2D arg_1; +uniform highp isampler2D arg_1_arg_2; void textureGather_587ba3() { - ivec4 res = textureGather(arg_1, vec2(0.0f, 0.0f), 1); + ivec4 res = textureGather(arg_1_arg_2, vec2(0.0f, 0.0f), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2D arg_1; +uniform highp isampler2D arg_1_arg_2; void textureGather_587ba3() { - ivec4 res = textureGather(arg_1, vec2(0.0f, 0.0f), 1); + ivec4 res = textureGather(arg_1_arg_2, vec2(0.0f, 0.0f), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2D arg_1; +uniform highp isampler2D arg_1_arg_2; void textureGather_587ba3() { - ivec4 res = textureGather(arg_1, vec2(0.0f, 0.0f), 1); + ivec4 res = textureGather(arg_1_arg_2, vec2(0.0f, 0.0f), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/69e0fb.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/69e0fb.wgsl.expected.glsl index c8ff55c77a..146affcc95 100644 --- a/test/intrinsics/gen/textureGather/69e0fb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/69e0fb.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp isampler2D arg_1; +uniform highp isampler2D arg_1_arg_2; void textureGather_69e0fb() { - ivec4 res = textureGatherOffset(arg_1, vec2(0.0f, 0.0f), ivec2(0, 0), 1); + ivec4 res = textureGatherOffset(arg_1_arg_2, vec2(0.0f, 0.0f), ivec2(0, 0), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2D arg_1; +uniform highp isampler2D arg_1_arg_2; void textureGather_69e0fb() { - ivec4 res = textureGatherOffset(arg_1, vec2(0.0f, 0.0f), ivec2(0, 0), 1); + ivec4 res = textureGatherOffset(arg_1_arg_2, vec2(0.0f, 0.0f), ivec2(0, 0), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2D arg_1; +uniform highp isampler2D arg_1_arg_2; void textureGather_69e0fb() { - ivec4 res = textureGatherOffset(arg_1, vec2(0.0f, 0.0f), ivec2(0, 0), 1); + ivec4 res = textureGatherOffset(arg_1_arg_2, vec2(0.0f, 0.0f), ivec2(0, 0), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/93003d.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/93003d.wgsl.expected.glsl index 719be032a9..a3f0817f1a 100644 --- a/test/intrinsics/gen/textureGather/93003d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/93003d.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp usampler2D arg_1; +uniform highp usampler2D arg_1_arg_2; void textureGather_93003d() { - uvec4 res = textureGatherOffset(arg_1, vec2(0.0f, 0.0f), ivec2(0, 0), 1); + uvec4 res = textureGatherOffset(arg_1_arg_2, vec2(0.0f, 0.0f), ivec2(0, 0), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2D arg_1; +uniform highp usampler2D arg_1_arg_2; void textureGather_93003d() { - uvec4 res = textureGatherOffset(arg_1, vec2(0.0f, 0.0f), ivec2(0, 0), 1); + uvec4 res = textureGatherOffset(arg_1_arg_2, vec2(0.0f, 0.0f), ivec2(0, 0), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2D arg_1; +uniform highp usampler2D arg_1_arg_2; void textureGather_93003d() { - uvec4 res = textureGatherOffset(arg_1, vec2(0.0f, 0.0f), ivec2(0, 0), 1); + uvec4 res = textureGatherOffset(arg_1_arg_2, vec2(0.0f, 0.0f), ivec2(0, 0), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/9a6358.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/9a6358.wgsl.expected.glsl index 023b1485ad..7d074f98d0 100644 --- a/test/intrinsics/gen/textureGather/9a6358.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/9a6358.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGather_9a6358() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, float(1))); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, float(1))); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGather_9a6358() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, float(1))); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, float(1))); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGather_9a6358() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, float(1))); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, float(1))); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/9efca2.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/9efca2.wgsl.expected.glsl index b3145568b8..3676bc6694 100644 --- a/test/intrinsics/gen/textureGather/9efca2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/9efca2.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_1; +uniform highp sampler2DArray arg_1_arg_2; void textureGather_9efca2() { - vec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, float(1)), 1); + vec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_1; +uniform highp sampler2DArray arg_1_arg_2; void textureGather_9efca2() { - vec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, float(1)), 1); + vec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_1; +uniform highp sampler2DArray arg_1_arg_2; void textureGather_9efca2() { - vec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, float(1)), 1); + vec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/bd0b1e.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/bd0b1e.wgsl.expected.glsl index 3398824675..ca8732fb4a 100644 --- a/test/intrinsics/gen/textureGather/bd0b1e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/bd0b1e.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_1; +uniform highp sampler2D arg_1_arg_2; void textureGather_bd0b1e() { - vec4 res = textureGather(arg_1, vec2(0.0f, 0.0f), 1); + vec4 res = textureGather(arg_1_arg_2, vec2(0.0f, 0.0f), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_1; +uniform highp sampler2D arg_1_arg_2; void textureGather_bd0b1e() { - vec4 res = textureGather(arg_1, vec2(0.0f, 0.0f), 1); + vec4 res = textureGather(arg_1_arg_2, vec2(0.0f, 0.0f), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_1; +uniform highp sampler2D arg_1_arg_2; void textureGather_bd0b1e() { - vec4 res = textureGather(arg_1, vec2(0.0f, 0.0f), 1); + vec4 res = textureGather(arg_1_arg_2, vec2(0.0f, 0.0f), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/c409ae.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/c409ae.wgsl.expected.glsl index a6e5b88bce..223c9ab2fa 100644 --- a/test/intrinsics/gen/textureGather/c409ae.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/c409ae.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGather_c409ae() { - vec4 res = textureGatherOffset(arg_0, vec2(0.0f, 0.0f), ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec2(0.0f, 0.0f), ivec2(0, 0)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGather_c409ae() { - vec4 res = textureGatherOffset(arg_0, vec2(0.0f, 0.0f), ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec2(0.0f, 0.0f), ivec2(0, 0)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGather_c409ae() { - vec4 res = textureGatherOffset(arg_0, vec2(0.0f, 0.0f), ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec2(0.0f, 0.0f), ivec2(0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/c55822.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/c55822.wgsl.expected.glsl index 2da1a79193..25791ee92f 100644 --- a/test/intrinsics/gen/textureGather/c55822.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/c55822.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_1; +uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_c55822() { - ivec4 res = textureGather(arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_1; +uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_c55822() { - ivec4 res = textureGather(arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_1; +uniform highp isamplerCubeArray arg_1_arg_2; void textureGather_c55822() { - ivec4 res = textureGather(arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); + ivec4 res = textureGather(arg_1_arg_2, vec4(0.0f, 0.0f, 0.0f, float(1)), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/e1b67d.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/e1b67d.wgsl.expected.glsl index 52b4950225..75ad314aac 100644 --- a/test/intrinsics/gen/textureGather/e1b67d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/e1b67d.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp usamplerCube arg_1; +uniform highp usamplerCube arg_1_arg_2; void textureGather_e1b67d() { - uvec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, 0.0f), 1); + uvec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, 0.0f), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp usamplerCube arg_1; +uniform highp usamplerCube arg_1_arg_2; void textureGather_e1b67d() { - uvec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, 0.0f), 1); + uvec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, 0.0f), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp usamplerCube arg_1; +uniform highp usamplerCube arg_1_arg_2; void textureGather_e1b67d() { - uvec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, 0.0f), 1); + uvec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, 0.0f), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/e9eff6.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/e9eff6.wgsl.expected.glsl index 459a403e10..ebce328d7f 100644 --- a/test/intrinsics/gen/textureGather/e9eff6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/e9eff6.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp usampler2D arg_1; +uniform highp usampler2D arg_1_arg_2; void textureGather_e9eff6() { - uvec4 res = textureGather(arg_1, vec2(0.0f, 0.0f), 1); + uvec4 res = textureGather(arg_1_arg_2, vec2(0.0f, 0.0f), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2D arg_1; +uniform highp usampler2D arg_1_arg_2; void textureGather_e9eff6() { - uvec4 res = textureGather(arg_1, vec2(0.0f, 0.0f), 1); + uvec4 res = textureGather(arg_1_arg_2, vec2(0.0f, 0.0f), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2D arg_1; +uniform highp usampler2D arg_1_arg_2; void textureGather_e9eff6() { - uvec4 res = textureGather(arg_1, vec2(0.0f, 0.0f), 1); + uvec4 res = textureGather(arg_1_arg_2, vec2(0.0f, 0.0f), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/f5f3ba.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/f5f3ba.wgsl.expected.glsl index 78bb5d15bc..3086074dc4 100644 --- a/test/intrinsics/gen/textureGather/f5f3ba.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/f5f3ba.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp usampler2DArray arg_1; +uniform highp usampler2DArray arg_1_arg_2; void textureGather_f5f3ba() { - uvec4 res = textureGatherOffset(arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); + uvec4 res = textureGatherOffset(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DArray arg_1; +uniform highp usampler2DArray arg_1_arg_2; void textureGather_f5f3ba() { - uvec4 res = textureGatherOffset(arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); + uvec4 res = textureGatherOffset(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DArray arg_1; +uniform highp usampler2DArray arg_1_arg_2; void textureGather_f5f3ba() { - uvec4 res = textureGatherOffset(arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); + uvec4 res = textureGatherOffset(arg_1_arg_2, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGather/f7995a.wgsl.expected.glsl b/test/intrinsics/gen/textureGather/f7995a.wgsl.expected.glsl index 2329347879..56f1bcfd7b 100644 --- a/test/intrinsics/gen/textureGather/f7995a.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGather/f7995a.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp isamplerCube arg_1; +uniform highp isamplerCube arg_1_arg_2; void textureGather_f7995a() { - ivec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, 0.0f), 1); + ivec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, 0.0f), 1); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp isamplerCube arg_1; +uniform highp isamplerCube arg_1_arg_2; void textureGather_f7995a() { - ivec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, 0.0f), 1); + ivec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, 0.0f), 1); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp isamplerCube arg_1; +uniform highp isamplerCube arg_1_arg_2; void textureGather_f7995a() { - ivec4 res = textureGather(arg_1, vec3(0.0f, 0.0f, 0.0f), 1); + ivec4 res = textureGather(arg_1_arg_2, vec3(0.0f, 0.0f, 0.0f), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGatherCompare/182fd4.wgsl.expected.glsl b/test/intrinsics/gen/textureGatherCompare/182fd4.wgsl.expected.glsl index 74797ec97c..734622cca6 100644 --- a/test/intrinsics/gen/textureGatherCompare/182fd4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGatherCompare/182fd4.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureGatherCompare_182fd4() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -44,11 +44,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureGatherCompare_182fd4() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -75,11 +75,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureGatherCompare_182fd4() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGatherCompare/60d2d1.wgsl.expected.glsl b/test/intrinsics/gen/textureGatherCompare/60d2d1.wgsl.expected.glsl index 816ba448ec..60d0a9ae47 100644 --- a/test/intrinsics/gen/textureGatherCompare/60d2d1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGatherCompare/60d2d1.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureGatherCompare_60d2d1() { - vec4 res = textureGather(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureGatherCompare_60d2d1() { - vec4 res = textureGather(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureGatherCompare_60d2d1() { - vec4 res = textureGather(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGatherCompare/6d9352.wgsl.expected.glsl b/test/intrinsics/gen/textureGatherCompare/6d9352.wgsl.expected.glsl index de91a90d22..b56605b9f3 100644 --- a/test/intrinsics/gen/textureGatherCompare/6d9352.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGatherCompare/6d9352.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGatherCompare_6d9352() { - vec4 res = textureGather(arg_0, vec2(0.0f, 0.0f), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -44,11 +44,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGatherCompare_6d9352() { - vec4 res = textureGather(arg_0, vec2(0.0f, 0.0f), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -75,11 +75,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGatherCompare_6d9352() { - vec4 res = textureGather(arg_0, vec2(0.0f, 0.0f), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGatherCompare/6f1267.wgsl.expected.glsl b/test/intrinsics/gen/textureGatherCompare/6f1267.wgsl.expected.glsl index a5296a6218..605a4ecd7e 100644 --- a/test/intrinsics/gen/textureGatherCompare/6f1267.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGatherCompare/6f1267.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGatherCompare_6f1267() { - vec4 res = textureGatherOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -44,11 +44,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGatherCompare_6f1267() { - vec4 res = textureGatherOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -75,11 +75,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGatherCompare_6f1267() { - vec4 res = textureGatherOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGatherCompare/783e65.wgsl.expected.glsl b/test/intrinsics/gen/textureGatherCompare/783e65.wgsl.expected.glsl index 093a11dae2..f1f5eb4ac8 100644 --- a/test/intrinsics/gen/textureGatherCompare/783e65.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGatherCompare/783e65.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGatherCompare_783e65() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -44,11 +44,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGatherCompare_783e65() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -75,11 +75,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureGatherCompare_783e65() { - vec4 res = textureGather(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureGather(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureGatherCompare/a5f587.wgsl.expected.glsl b/test/intrinsics/gen/textureGatherCompare/a5f587.wgsl.expected.glsl index be3dfedfa6..59811e67cc 100644 --- a/test/intrinsics/gen/textureGatherCompare/a5f587.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureGatherCompare/a5f587.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGatherCompare_a5f587() { - vec4 res = textureGatherOffset(arg_0, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -44,11 +44,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGatherCompare_a5f587() { - vec4 res = textureGatherOffset(arg_0, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -75,11 +75,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureGatherCompare_a5f587() { - vec4 res = textureGatherOffset(arg_0, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); + vec4 res = textureGatherOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.glsl index 91845cbdd2..70a25a780f 100644 --- a/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureLoad_19cf87() { - float res = texelFetch(arg_0, ivec2(0, 0), 0).x; + float res = texelFetch(arg_0_1, ivec2(0, 0), 0).x; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureLoad_19cf87() { - float res = texelFetch(arg_0, ivec2(0, 0), 0).x; + float res = texelFetch(arg_0_1, ivec2(0, 0), 0).x; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureLoad_19cf87() { - float res = texelFetch(arg_0, ivec2(0, 0), 0).x; + float res = texelFetch(arg_0_1, ivec2(0, 0), 0).x; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.glsl index b2270fc228..081c48c116 100644 --- a/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureLoad_1b8588() { - uvec4 res = texelFetch(arg_0, 1, 0); + uvec4 res = texelFetch(arg_0_1, 1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureLoad_1b8588() { - uvec4 res = texelFetch(arg_0, 1, 0); + uvec4 res = texelFetch(arg_0_1, 1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureLoad_1b8588() { - uvec4 res = texelFetch(arg_0, 1, 0); + uvec4 res = texelFetch(arg_0_1, 1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.glsl index ba2c43cf4e..afc4f684a2 100644 --- a/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureLoad_1f2016() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); + vec4 res = texelFetch(arg_0_1, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureLoad_1f2016() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); + vec4 res = texelFetch(arg_0_1, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureLoad_1f2016() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); + vec4 res = texelFetch(arg_0_1, ivec3(0, 0, 0), 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/484344.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/484344.wgsl.expected.glsl index 23c97b79fe..9346a00a79 100644 --- a/test/intrinsics/gen/textureLoad/484344.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/484344.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureLoad_484344() { - vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + vec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureLoad_484344() { - vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + vec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureLoad_484344() { - vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + vec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.glsl index 1912237912..77702b83d7 100644 --- a/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureLoad_4fd803() { - ivec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); + ivec4 res = texelFetch(arg_0_1, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureLoad_4fd803() { - ivec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); + ivec4 res = texelFetch(arg_0_1, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureLoad_4fd803() { - ivec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); + ivec4 res = texelFetch(arg_0_1, ivec3(0, 0, 0), 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.glsl index ca2c53ad10..6d408cca77 100644 --- a/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureLoad_5a2f9d() { - ivec4 res = texelFetch(arg_0, 1, 0); + ivec4 res = texelFetch(arg_0_1, 1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureLoad_5a2f9d() { - ivec4 res = texelFetch(arg_0, 1, 0); + ivec4 res = texelFetch(arg_0_1, 1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureLoad_5a2f9d() { - ivec4 res = texelFetch(arg_0, 1, 0); + ivec4 res = texelFetch(arg_0_1, 1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.glsl index 996248d180..85729bfa6a 100644 --- a/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureLoad_6154d4() { - uvec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + uvec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureLoad_6154d4() { - uvec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + uvec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureLoad_6154d4() { - uvec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + uvec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/6273b1.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/6273b1.wgsl.expected.glsl index 9063f24dce..68952ce3ce 100644 --- a/test/intrinsics/gen/textureLoad/6273b1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/6273b1.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureLoad_6273b1() { - float res = texelFetch(arg_0, ivec2(0, 0), 1).x; + float res = texelFetch(arg_0_1, ivec2(0, 0), 1).x; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureLoad_6273b1() { - float res = texelFetch(arg_0, ivec2(0, 0), 1).x; + float res = texelFetch(arg_0_1, ivec2(0, 0), 1).x; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureLoad_6273b1() { - float res = texelFetch(arg_0, ivec2(0, 0), 1).x; + float res = texelFetch(arg_0_1, ivec2(0, 0), 1).x; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.glsl index 1c23ff0e2f..b5ca742ec6 100644 --- a/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureLoad_79e697() { - ivec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); + ivec4 res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureLoad_79e697() { - ivec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); + ivec4 res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureLoad_79e697() { - ivec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); + ivec4 res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.glsl index 973acb95a6..c28793f6d5 100644 --- a/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureLoad_7c90e5() { - uvec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); + uvec4 res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureLoad_7c90e5() { - uvec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); + uvec4 res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureLoad_7c90e5() { - uvec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); + uvec4 res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.glsl index 23ae5de0cd..d17526aba2 100644 --- a/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureLoad_81c381() { - vec4 res = texelFetch(arg_0, 1, 0); + vec4 res = texelFetch(arg_0_1, 1, 0); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureLoad_81c381() { - vec4 res = texelFetch(arg_0, 1, 0); + vec4 res = texelFetch(arg_0_1, 1, 0); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureLoad_81c381() { - vec4 res = texelFetch(arg_0, 1, 0); + vec4 res = texelFetch(arg_0_1, 1, 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.glsl index 43a7c2fe35..edf24c72e4 100644 --- a/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureLoad_87be85() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); + vec4 res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureLoad_87be85() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); + vec4 res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureLoad_87be85() { - vec4 res = texelFetch(arg_0, ivec3(0, 0, 1), 0); + vec4 res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.glsl index 8d2fef597b..41234eb4fa 100644 --- a/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureLoad_8acf41() { - vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + vec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureLoad_8acf41() { - vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + vec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureLoad_8acf41() { - vec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + vec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.glsl index 20e2df2a38..d0e02459c7 100644 --- a/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureLoad_9b2667() { - float res = texelFetch(arg_0, ivec3(0, 0, 1), 0).x; + float res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0).x; } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureLoad_9b2667() { - float res = texelFetch(arg_0, ivec3(0, 0, 1), 0).x; + float res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0).x; } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureLoad_9b2667() { - float res = texelFetch(arg_0, ivec3(0, 0, 1), 0).x; + float res = texelFetch(arg_0_1, ivec3(0, 0, 1), 0).x; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/a583c9.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/a583c9.wgsl.expected.glsl index cb434f5532..16098ba3f7 100644 --- a/test/intrinsics/gen/textureLoad/a583c9.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/a583c9.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureLoad_a583c9() { - vec4 res = texelFetch(arg_0, ivec2(0, 0), 1); + vec4 res = texelFetch(arg_0_1, ivec2(0, 0), 1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureLoad_a583c9() { - vec4 res = texelFetch(arg_0, ivec2(0, 0), 1); + vec4 res = texelFetch(arg_0_1, ivec2(0, 0), 1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureLoad_a583c9() { - vec4 res = texelFetch(arg_0, ivec2(0, 0), 1); + vec4 res = texelFetch(arg_0_1, ivec2(0, 0), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.glsl index b3e958c138..81ff4248dd 100644 --- a/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureLoad_a9a9f5() { - uvec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); + uvec4 res = texelFetch(arg_0_1, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureLoad_a9a9f5() { - uvec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); + uvec4 res = texelFetch(arg_0_1, ivec3(0, 0, 0), 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureLoad_a9a9f5() { - uvec4 res = texelFetch(arg_0, ivec3(0, 0, 0), 0); + uvec4 res = texelFetch(arg_0_1, ivec3(0, 0, 0), 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.glsl index bef6376fea..5d3b6443bc 100644 --- a/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureLoad_c2a480() { - ivec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + ivec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureLoad_c2a480() { - ivec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + ivec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureLoad_c2a480() { - ivec4 res = texelFetch(arg_0, ivec2(0, 0), 0); + ivec4 res = texelFetch(arg_0_1, ivec2(0, 0), 0); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/c378ee.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/c378ee.wgsl.expected.glsl index 57511b1097..5677bfaeb8 100644 --- a/test/intrinsics/gen/textureLoad/c378ee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/c378ee.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp usampler2DMS arg_0; +uniform highp usampler2DMS arg_0_1; void textureLoad_c378ee() { - uvec4 res = texelFetch(arg_0, ivec2(0, 0), 1); + uvec4 res = texelFetch(arg_0_1, ivec2(0, 0), 1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DMS arg_0; +uniform highp usampler2DMS arg_0_1; void textureLoad_c378ee() { - uvec4 res = texelFetch(arg_0, ivec2(0, 0), 1); + uvec4 res = texelFetch(arg_0_1, ivec2(0, 0), 1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp usampler2DMS arg_0; +uniform highp usampler2DMS arg_0_1; void textureLoad_c378ee() { - uvec4 res = texelFetch(arg_0, ivec2(0, 0), 1); + uvec4 res = texelFetch(arg_0_1, ivec2(0, 0), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureLoad/e3d2cc.wgsl.expected.glsl b/test/intrinsics/gen/textureLoad/e3d2cc.wgsl.expected.glsl index e5c4ee866b..4b7941046b 100644 --- a/test/intrinsics/gen/textureLoad/e3d2cc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureLoad/e3d2cc.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp isampler2DMS arg_0; +uniform highp isampler2DMS arg_0_1; void textureLoad_e3d2cc() { - ivec4 res = texelFetch(arg_0, ivec2(0, 0), 1); + ivec4 res = texelFetch(arg_0_1, ivec2(0, 0), 1); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DMS arg_0; +uniform highp isampler2DMS arg_0_1; void textureLoad_e3d2cc() { - ivec4 res = texelFetch(arg_0, ivec2(0, 0), 1); + ivec4 res = texelFetch(arg_0_1, ivec2(0, 0), 1); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp isampler2DMS arg_0; +uniform highp isampler2DMS arg_0_1; void textureLoad_e3d2cc() { - ivec4 res = texelFetch(arg_0, ivec2(0, 0), 1); + ivec4 res = texelFetch(arg_0_1, ivec2(0, 0), 1); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/024820.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/024820.wgsl.expected.glsl index b51315139c..e7652232d6 100644 --- a/test/intrinsics/gen/textureNumLayers/024820.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/024820.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLayers_024820() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLayers_024820() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLayers_024820() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/053df7.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/053df7.wgsl.expected.glsl index 2319625230..ab7bb782b6 100644 --- a/test/intrinsics/gen/textureNumLayers/053df7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/053df7.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureNumLayers_053df7() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureNumLayers_053df7() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureNumLayers_053df7() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.glsl index f0f4f1c7b0..299f4a10d0 100644 --- a/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_058cc3() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_058cc3() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_058cc3() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.glsl index 2cff98263f..18aac358f0 100644 --- a/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_09d05d() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_09d05d() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_09d05d() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.glsl index 1533617bcb..52a278d769 100644 --- a/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_13b4ce() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_13b4ce() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_13b4ce() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.glsl index 183d46f885..2ec9677faf 100644 --- a/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_22e53b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_22e53b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_22e53b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.glsl index 9fcdb8ca5e..2cd483b8db 100644 --- a/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_562013() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_562013() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_562013() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/5d59cd.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/5d59cd.wgsl.expected.glsl index b7fff6ac37..17a02ff72d 100644 --- a/test/intrinsics/gen/textureNumLayers/5d59cd.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/5d59cd.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLayers_5d59cd() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLayers_5d59cd() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLayers_5d59cd() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.glsl index e62b6d73cb..b5f4054728 100644 --- a/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_68a65b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_68a65b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_68a65b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/778bd1.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/778bd1.wgsl.expected.glsl index 0fdca03c2f..b8becf8871 100644 --- a/test/intrinsics/gen/textureNumLayers/778bd1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/778bd1.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLayers_778bd1() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLayers_778bd1() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLayers_778bd1() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.glsl index fe25334109..32e291dd81 100644 --- a/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_7f1937() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_7f1937() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_7f1937() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/85f980.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/85f980.wgsl.expected.glsl index c7f5e15254..71ec67ee41 100644 --- a/test/intrinsics/gen/textureNumLayers/85f980.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/85f980.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureNumLayers_85f980() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureNumLayers_85f980() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureNumLayers_85f980() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/87953e.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/87953e.wgsl.expected.glsl index a8374fd414..05441b09f9 100644 --- a/test/intrinsics/gen/textureNumLayers/87953e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/87953e.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureNumLayers_87953e() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureNumLayers_87953e() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureNumLayers_87953e() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/893e7c.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/893e7c.wgsl.expected.glsl index 56a582131d..03a4f6ad84 100644 --- a/test/intrinsics/gen/textureNumLayers/893e7c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/893e7c.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureNumLayers_893e7c() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureNumLayers_893e7c() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureNumLayers_893e7c() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.glsl index c1f8ea15c9..04cd196305 100644 --- a/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_9700fb() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_9700fb() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_9700fb() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.glsl index e8e3b282ef..446bfadcfb 100644 --- a/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_a216d2() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_a216d2() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_a216d2() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl index a71b160011..5cee038990 100644 --- a/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_cd5dc8() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_cd5dc8() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_cd5dc8() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.glsl index a0123fd3e9..6417e385e6 100644 --- a/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_d5b228() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_d5b228() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_d5b228() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.glsl index 3cc2e8a92c..6ca95baf23 100644 --- a/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_e31be1() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_e31be1() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureNumLayers_e31be1() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/e653c0.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/e653c0.wgsl.expected.glsl index 9f609631c1..4717704dd9 100644 --- a/test/intrinsics/gen/textureNumLayers/e653c0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/e653c0.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLayers_e653c0() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLayers_e653c0() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLayers_e653c0() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.glsl index 11d5b5009a..c528db4d6f 100644 --- a/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ee942f() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ee942f() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ee942f() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.glsl index 32669d4e47..229f7fc25b 100644 --- a/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_f33005() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_f33005() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureNumLayers_f33005() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.glsl index d401fa8646..3f98db4dcd 100644 --- a/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_fcec98() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_fcec98() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_fcec98() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.glsl index 9dee14af07..49db3b89c5 100644 --- a/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ff5e89() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ff5e89() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureNumLayers_ff5e89() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/076cb5.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/076cb5.wgsl.expected.glsl index 60570af339..ea3b6b6d7e 100644 --- a/test/intrinsics/gen/textureNumLevels/076cb5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/076cb5.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureNumLevels_076cb5() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureNumLevels_076cb5() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureNumLevels_076cb5() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/080d95.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/080d95.wgsl.expected.glsl index d5825e78bc..ee124a8ee2 100644 --- a/test/intrinsics/gen/textureNumLevels/080d95.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/080d95.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isamplerCube arg_0; +uniform highp isamplerCube arg_0_1; void textureNumLevels_080d95() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCube arg_0; +uniform highp isamplerCube arg_0_1; void textureNumLevels_080d95() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCube arg_0; +uniform highp isamplerCube arg_0_1; void textureNumLevels_080d95() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/09ddd0.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/09ddd0.wgsl.expected.glsl index 176fbde1bb..d874ab2027 100644 --- a/test/intrinsics/gen/textureNumLevels/09ddd0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/09ddd0.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureNumLevels_09ddd0() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureNumLevels_09ddd0() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler2D arg_0; +uniform highp usampler2D arg_0_1; void textureNumLevels_09ddd0() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/105988.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/105988.wgsl.expected.glsl index 53a53180b8..9d2af6ab28 100644 --- a/test/intrinsics/gen/textureNumLevels/105988.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/105988.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLevels_105988() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLevels_105988() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLevels_105988() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/1e6f3b.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/1e6f3b.wgsl.expected.glsl index 2ffe00347f..50168b9adf 100644 --- a/test/intrinsics/gen/textureNumLevels/1e6f3b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/1e6f3b.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureNumLevels_1e6f3b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureNumLevels_1e6f3b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler1D arg_0; +uniform highp usampler1D arg_0_1; void textureNumLevels_1e6f3b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/23f750.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/23f750.wgsl.expected.glsl index 1430293acb..47e83b9a52 100644 --- a/test/intrinsics/gen/textureNumLevels/23f750.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/23f750.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureNumLevels_23f750() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureNumLevels_23f750() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler2D arg_0; +uniform highp isampler2D arg_0_1; void textureNumLevels_23f750() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/2c3575.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/2c3575.wgsl.expected.glsl index 2076d2ec93..7e64833cc7 100644 --- a/test/intrinsics/gen/textureNumLevels/2c3575.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/2c3575.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLevels_2c3575() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLevels_2c3575() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLevels_2c3575() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/32a0ae.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/32a0ae.wgsl.expected.glsl index d990da4437..31f9531ab6 100644 --- a/test/intrinsics/gen/textureNumLevels/32a0ae.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/32a0ae.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureNumLevels_32a0ae() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureNumLevels_32a0ae() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler1D arg_0; +uniform highp isampler1D arg_0_1; void textureNumLevels_32a0ae() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/5101cf.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/5101cf.wgsl.expected.glsl index 2b4d3e76c4..abf90fc710 100644 --- a/test/intrinsics/gen/textureNumLevels/5101cf.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/5101cf.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureNumLevels_5101cf() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureNumLevels_5101cf() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler2DArray arg_0; +uniform highp usampler2DArray arg_0_1; void textureNumLevels_5101cf() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/51b5bb.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/51b5bb.wgsl.expected.glsl index d5ad1f53d5..2cf1057319 100644 --- a/test/intrinsics/gen/textureNumLevels/51b5bb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/51b5bb.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureNumLevels_51b5bb() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureNumLevels_51b5bb() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_1; void textureNumLevels_51b5bb() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/897aaf.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/897aaf.wgsl.expected.glsl index 30e557a09f..fe99bb1bc9 100644 --- a/test/intrinsics/gen/textureNumLevels/897aaf.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/897aaf.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureNumLevels_897aaf() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureNumLevels_897aaf() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_1; void textureNumLevels_897aaf() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/9da7a5.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/9da7a5.wgsl.expected.glsl index 7acaec0ebb..7ab0aa200b 100644 --- a/test/intrinsics/gen/textureNumLevels/9da7a5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/9da7a5.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureNumLevels_9da7a5() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureNumLevels_9da7a5() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler3D arg_0; +uniform highp isampler3D arg_0_1; void textureNumLevels_9da7a5() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/a91c03.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/a91c03.wgsl.expected.glsl index c1d0c7cdd7..c453ab6f59 100644 --- a/test/intrinsics/gen/textureNumLevels/a91c03.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/a91c03.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureNumLevels_a91c03() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureNumLevels_a91c03() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isamplerCubeArray arg_0; +uniform highp isamplerCubeArray arg_0_1; void textureNumLevels_a91c03() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/aee7c8.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/aee7c8.wgsl.expected.glsl index 415c35d7b9..bf7c57e7c4 100644 --- a/test/intrinsics/gen/textureNumLevels/aee7c8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/aee7c8.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLevels_aee7c8() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLevels_aee7c8() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_1; void textureNumLevels_aee7c8() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/b1b12b.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/b1b12b.wgsl.expected.glsl index 6579ed02b2..33cf33b685 100644 --- a/test/intrinsics/gen/textureNumLevels/b1b12b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/b1b12b.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureNumLevels_b1b12b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureNumLevels_b1b12b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureNumLevels_b1b12b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/b4f5ea.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/b4f5ea.wgsl.expected.glsl index f3319ecb70..16a66106c8 100644 --- a/test/intrinsics/gen/textureNumLevels/b4f5ea.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/b4f5ea.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureNumLevels_b4f5ea() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureNumLevels_b4f5ea() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler3D arg_0; +uniform highp usampler3D arg_0_1; void textureNumLevels_b4f5ea() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/d004a9.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/d004a9.wgsl.expected.glsl index b5b0626967..f4fa651657 100644 --- a/test/intrinsics/gen/textureNumLevels/d004a9.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/d004a9.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureNumLevels_d004a9() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureNumLevels_d004a9() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler2DArray arg_0; +uniform highp isampler2DArray arg_0_1; void textureNumLevels_d004a9() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/dca09e.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/dca09e.wgsl.expected.glsl index 3ec191d1ab..8b967a844c 100644 --- a/test/intrinsics/gen/textureNumLevels/dca09e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/dca09e.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureNumLevels_dca09e() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureNumLevels_dca09e() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_1; void textureNumLevels_dca09e() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/e67231.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/e67231.wgsl.expected.glsl index e11a569275..d6103dd8c2 100644 --- a/test/intrinsics/gen/textureNumLevels/e67231.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/e67231.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureNumLevels_e67231() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureNumLevels_e67231() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_1; void textureNumLevels_e67231() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/ed078b.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/ed078b.wgsl.expected.glsl index 6dd5cedbd9..744b130e61 100644 --- a/test/intrinsics/gen/textureNumLevels/ed078b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/ed078b.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usamplerCube arg_0; +uniform highp usamplerCube arg_0_1; void textureNumLevels_ed078b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCube arg_0; +uniform highp usamplerCube arg_0_1; void textureNumLevels_ed078b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCube arg_0; +uniform highp usamplerCube arg_0_1; void textureNumLevels_ed078b() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/f46ec6.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/f46ec6.wgsl.expected.glsl index fb2037c942..d022ea881d 100644 --- a/test/intrinsics/gen/textureNumLevels/f46ec6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/f46ec6.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureNumLevels_f46ec6() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureNumLevels_f46ec6() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usamplerCubeArray arg_0; +uniform highp usamplerCubeArray arg_0_1; void textureNumLevels_f46ec6() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumLevels/f5828d.wgsl.expected.glsl b/test/intrinsics/gen/textureNumLevels/f5828d.wgsl.expected.glsl index 73f917c0a6..ae65de0eec 100644 --- a/test/intrinsics/gen/textureNumLevels/f5828d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumLevels/f5828d.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLevels_f5828d() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLevels_f5828d() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_1; void textureNumLevels_f5828d() { - int res = textureQueryLevels(arg_0);; + int res = textureQueryLevels(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumSamples/2c6f14.wgsl.expected.glsl b/test/intrinsics/gen/textureNumSamples/2c6f14.wgsl.expected.glsl index d21f842cd3..d2507ab33b 100644 --- a/test/intrinsics/gen/textureNumSamples/2c6f14.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumSamples/2c6f14.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureNumSamples_2c6f14() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureNumSamples_2c6f14() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureNumSamples_2c6f14() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumSamples/42f8bb.wgsl.expected.glsl b/test/intrinsics/gen/textureNumSamples/42f8bb.wgsl.expected.glsl index fa23cef5ef..7b0c519e67 100644 --- a/test/intrinsics/gen/textureNumSamples/42f8bb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumSamples/42f8bb.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp usampler2DMS arg_0; +uniform highp usampler2DMS arg_0_1; void textureNumSamples_42f8bb() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler2DMS arg_0; +uniform highp usampler2DMS arg_0_1; void textureNumSamples_42f8bb() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp usampler2DMS arg_0; +uniform highp usampler2DMS arg_0_1; void textureNumSamples_42f8bb() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumSamples/449d23.wgsl.expected.glsl b/test/intrinsics/gen/textureNumSamples/449d23.wgsl.expected.glsl index 8b37690285..a22589b969 100644 --- a/test/intrinsics/gen/textureNumSamples/449d23.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumSamples/449d23.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp isampler2DMS arg_0; +uniform highp isampler2DMS arg_0_1; void textureNumSamples_449d23() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler2DMS arg_0; +uniform highp isampler2DMS arg_0_1; void textureNumSamples_449d23() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp isampler2DMS arg_0; +uniform highp isampler2DMS arg_0_1; void textureNumSamples_449d23() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureNumSamples/a3c8a0.wgsl.expected.glsl b/test/intrinsics/gen/textureNumSamples/a3c8a0.wgsl.expected.glsl index 2bc017d313..1e13b72cd0 100644 --- a/test/intrinsics/gen/textureNumSamples/a3c8a0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureNumSamples/a3c8a0.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureNumSamples_a3c8a0() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { @@ -43,10 +43,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureNumSamples_a3c8a0() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { @@ -73,10 +73,10 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureNumSamples_a3c8a0() { - int res = textureSamples(arg_0);; + int res = textureSamples(arg_0_1);; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSample/02aa9b.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/02aa9b.wgsl.expected.glsl index beb23235be..3be69b9cec 100644 --- a/test/intrinsics/gen/textureSample/02aa9b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/02aa9b.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSample_02aa9b() { - vec4 res = textureOffset(arg_0, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0)); + vec4 res = textureOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0)); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/100dc0.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/100dc0.wgsl.expected.glsl index e4db7a3ec4..1215f7da9e 100644 --- a/test/intrinsics/gen/textureSample/100dc0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/100dc0.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSample_100dc0() { - vec4 res = textureOffset(arg_0, vec3(0.0f, 0.0f, 0.0f), ivec3(0, 0, 0)); + vec4 res = textureOffset(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), ivec3(0, 0, 0)); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/38bbb9.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/38bbb9.wgsl.expected.glsl index dda133ed90..e2a25d58df 100644 --- a/test/intrinsics/gen/textureSample/38bbb9.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/38bbb9.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSample_38bbb9() { - float res = texture(arg_0, vec2(0.0f, 0.0f)).x; + float res = texture(arg_0_arg_1, vec2(0.0f, 0.0f)).x; } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/3b50bd.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/3b50bd.wgsl.expected.glsl index 838a5d9ae0..d41bb795d1 100644 --- a/test/intrinsics/gen/textureSample/3b50bd.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/3b50bd.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSample_3b50bd() { - vec4 res = texture(arg_0, vec3(0.0f, 0.0f, 0.0f)); + vec4 res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f)); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/4dd1bf.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/4dd1bf.wgsl.expected.glsl index 38057f3f7b..9ef770e501 100644 --- a/test/intrinsics/gen/textureSample/4dd1bf.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/4dd1bf.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSample_4dd1bf() { - vec4 res = texture(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1))); + vec4 res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1))); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/51b514.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/51b514.wgsl.expected.glsl index 1251a2c698..f55a6addfb 100644 --- a/test/intrinsics/gen/textureSample/51b514.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/51b514.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSample_51b514() { - vec4 res = texture(arg_0, vec2(0.0f, 0.0f)); + vec4 res = texture(arg_0_arg_1, vec2(0.0f, 0.0f)); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/667d76.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/667d76.wgsl.expected.glsl index a5776ac2c1..8e0be0b294 100644 --- a/test/intrinsics/gen/textureSample/667d76.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/667d76.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSample_667d76() { - float res = textureOffset(arg_0, vec2(0.0f, 0.0f), ivec2(0, 0)).x; + float res = textureOffset(arg_0_arg_1, vec2(0.0f, 0.0f), ivec2(0, 0)).x; } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/6717ca.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/6717ca.wgsl.expected.glsl index e73c6885c4..06284d4026 100644 --- a/test/intrinsics/gen/textureSample/6717ca.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/6717ca.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSample_6717ca() { - vec4 res = texture(arg_0, vec3(0.0f, 0.0f, float(1))); + vec4 res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, float(1))); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/6e64fb.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/6e64fb.wgsl.expected.glsl index 9205cfd612..0c8a04b2a0 100644 --- a/test/intrinsics/gen/textureSample/6e64fb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/6e64fb.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler1D arg_0; +uniform highp sampler1D arg_0_arg_1; void textureSample_6e64fb() { - vec4 res = texture(arg_0, 1.0f); + vec4 res = texture(arg_0_arg_1, 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/7c3baa.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/7c3baa.wgsl.expected.glsl index b75e5db55f..78556ad744 100644 --- a/test/intrinsics/gen/textureSample/7c3baa.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/7c3baa.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSample_7c3baa() { - vec4 res = textureOffset(arg_0, vec2(0.0f, 0.0f), ivec2(0, 0)); + vec4 res = textureOffset(arg_0_arg_1, vec2(0.0f, 0.0f), ivec2(0, 0)); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/7e9ffd.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/7e9ffd.wgsl.expected.glsl index 95f9c54fa5..e2e2ddd29b 100644 --- a/test/intrinsics/gen/textureSample/7e9ffd.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/7e9ffd.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSample_7e9ffd() { - float res = texture(arg_0, vec3(0.0f, 0.0f, float(1))).x; + float res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, float(1))).x; } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/8522e7.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/8522e7.wgsl.expected.glsl index 073841bd9a..116b359992 100644 --- a/test/intrinsics/gen/textureSample/8522e7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/8522e7.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSample_8522e7() { - float res = textureOffset(arg_0, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0)).x; + float res = textureOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0)).x; } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/c2f4e8.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/c2f4e8.wgsl.expected.glsl index 44ec2af924..76d4a089ad 100644 --- a/test/intrinsics/gen/textureSample/c2f4e8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/c2f4e8.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSample_c2f4e8() { - float res = texture(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1))).x; + float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1))).x; } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/e53267.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/e53267.wgsl.expected.glsl index 5eaee03a1d..acb4c23097 100644 --- a/test/intrinsics/gen/textureSample/e53267.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/e53267.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSample_e53267() { - vec4 res = texture(arg_0, vec3(0.0f, 0.0f, 0.0f)); + vec4 res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f)); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSample/ea7030.wgsl.expected.glsl b/test/intrinsics/gen/textureSample/ea7030.wgsl.expected.glsl index e8c1b8aefb..8f10fdae1b 100644 --- a/test/intrinsics/gen/textureSample/ea7030.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSample/ea7030.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSample_ea7030() { - float res = texture(arg_0, vec3(0.0f, 0.0f, 0.0f)).x; + float res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f)).x; } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleBias/53b9f7.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleBias/53b9f7.wgsl.expected.glsl index 2a26fea209..326544dd42 100644 --- a/test/intrinsics/gen/textureSampleBias/53b9f7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleBias/53b9f7.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleBias_53b9f7() { - vec4 res = texture(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + vec4 res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleBias/65ac50.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleBias/65ac50.wgsl.expected.glsl index ccf71c0f25..923d6d0aa8 100644 --- a/test/intrinsics/gen/textureSampleBias/65ac50.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleBias/65ac50.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleBias_65ac50() { - vec4 res = textureOffset(arg_0, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1.0f); + vec4 res = textureOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), ivec2(0, 0), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleBias/6a9113.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleBias/6a9113.wgsl.expected.glsl index dfcb3df386..8963a2b194 100644 --- a/test/intrinsics/gen/textureSampleBias/6a9113.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleBias/6a9113.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleBias_6a9113() { - vec4 res = texture(arg_0, vec2(0.0f, 0.0f), 1.0f); + vec4 res = texture(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleBias/80e579.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleBias/80e579.wgsl.expected.glsl index 77d67e68ec..0a16afa383 100644 --- a/test/intrinsics/gen/textureSampleBias/80e579.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleBias/80e579.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleBias_80e579() { - vec4 res = texture(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f); + vec4 res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleBias/81c19a.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleBias/81c19a.wgsl.expected.glsl index e9eaaf4c58..7acf4f6d4c 100644 --- a/test/intrinsics/gen/textureSampleBias/81c19a.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleBias/81c19a.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleBias_81c19a() { - vec4 res = textureOffset(arg_0, vec2(0.0f, 0.0f), ivec2(0, 0), 1.0f); + vec4 res = textureOffset(arg_0_arg_1, vec2(0.0f, 0.0f), ivec2(0, 0), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleBias/d3fa1b.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleBias/d3fa1b.wgsl.expected.glsl index df9819bd8e..1707cd88c9 100644 --- a/test/intrinsics/gen/textureSampleBias/d3fa1b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleBias/d3fa1b.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleBias_d3fa1b() { - vec4 res = texture(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + vec4 res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleBias/df91bb.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleBias/df91bb.wgsl.expected.glsl index 25c3507a98..c643170cfe 100644 --- a/test/intrinsics/gen/textureSampleBias/df91bb.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleBias/df91bb.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleBias_df91bb() { - vec4 res = textureOffset(arg_0, vec3(0.0f, 0.0f, 0.0f), ivec3(0, 0, 0), 1.0f); + vec4 res = textureOffset(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), ivec3(0, 0, 0), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleBias/eed7c4.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleBias/eed7c4.wgsl.expected.glsl index 0cc5ca2c04..ab89f32130 100644 --- a/test/intrinsics/gen/textureSampleBias/eed7c4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleBias/eed7c4.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleBias_eed7c4() { - vec4 res = texture(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleCompare/25fcd1.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompare/25fcd1.wgsl.expected.glsl index 52f9d18c02..7d60a48272 100644 --- a/test/intrinsics/gen/textureSampleCompare/25fcd1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompare/25fcd1.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleCompare_25fcd1() { - float res = textureOffset(arg_0, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); + float res = textureOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleCompare/3a5923.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompare/3a5923.wgsl.expected.glsl index ac440777c9..3afff8b147 100644 --- a/test/intrinsics/gen/textureSampleCompare/3a5923.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompare/3a5923.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleCompare_3a5923() { - float res = texture(arg_0, vec2(0.0f, 0.0f), 1.0f); + float res = texture(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleCompare/63fb83.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompare/63fb83.wgsl.expected.glsl index 65767b4216..49d1c57d28 100644 --- a/test/intrinsics/gen/textureSampleCompare/63fb83.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompare/63fb83.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleCompare_63fb83() { - float res = texture(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + float res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleCompare/98b85c.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompare/98b85c.wgsl.expected.glsl index c76e41e69e..feff3b4b68 100644 --- a/test/intrinsics/gen/textureSampleCompare/98b85c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompare/98b85c.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleCompare_98b85c() { - float res = textureOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); + float res = textureOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleCompare/a3ca7e.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompare/a3ca7e.wgsl.expected.glsl index 19e6bfd77d..924fac942d 100644 --- a/test/intrinsics/gen/textureSampleCompare/a3ca7e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompare/a3ca7e.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleCompare_a3ca7e() { - float res = texture(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleCompare/dd431d.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompare/dd431d.wgsl.expected.glsl index d61325886f..2642223179 100644 --- a/test/intrinsics/gen/textureSampleCompare/dd431d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompare/dd431d.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleCompare_dd431d() { - float res = texture(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f); } void fragment_main() { diff --git a/test/intrinsics/gen/textureSampleCompareLevel/011a8f.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompareLevel/011a8f.wgsl.expected.glsl index ac11422266..d43ddb0ff2 100644 --- a/test/intrinsics/gen/textureSampleCompareLevel/011a8f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompareLevel/011a8f.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleCompareLevel_011a8f() { - float res = textureOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); + float res = textureOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleCompareLevel_011a8f() { - float res = textureOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); + float res = textureOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleCompareLevel_011a8f() { - float res = textureOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); + float res = textureOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleCompareLevel/1116ed.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompareLevel/1116ed.wgsl.expected.glsl index 8a647307b5..25be187c70 100644 --- a/test/intrinsics/gen/textureSampleCompareLevel/1116ed.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompareLevel/1116ed.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleCompareLevel_1116ed() { - float res = texture(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleCompareLevel_1116ed() { - float res = texture(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleCompareLevel_1116ed() { - float res = texture(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleCompareLevel/1568e3.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompareLevel/1568e3.wgsl.expected.glsl index d8e177c82e..683527dd6d 100644 --- a/test/intrinsics/gen/textureSampleCompareLevel/1568e3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompareLevel/1568e3.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleCompareLevel_1568e3() { - float res = texture(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + float res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleCompareLevel_1568e3() { - float res = texture(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + float res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleCompareLevel_1568e3() { - float res = texture(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + float res = texture(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleCompareLevel/2ad2b1.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompareLevel/2ad2b1.wgsl.expected.glsl index faaa2903f3..91fc708d64 100644 --- a/test/intrinsics/gen/textureSampleCompareLevel/2ad2b1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompareLevel/2ad2b1.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleCompareLevel_2ad2b1() { - float res = texture(arg_0, vec2(0.0f, 0.0f), 1.0f); + float res = texture(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleCompareLevel_2ad2b1() { - float res = texture(arg_0, vec2(0.0f, 0.0f), 1.0f); + float res = texture(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleCompareLevel_2ad2b1() { - float res = texture(arg_0, vec2(0.0f, 0.0f), 1.0f); + float res = texture(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl index 9ce58c5d0c..5e33710eef 100644 --- a/test/intrinsics/gen/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompareLevel/4cf3a2.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleCompareLevel_4cf3a2() { - float res = texture(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleCompareLevel_4cf3a2() { - float res = texture(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleCompareLevel_4cf3a2() { - float res = texture(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + float res = texture(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleCompareLevel/f8121c.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleCompareLevel/f8121c.wgsl.expected.glsl index 228b5dd87f..a869043ba3 100644 --- a/test/intrinsics/gen/textureSampleCompareLevel/f8121c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleCompareLevel/f8121c.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleCompareLevel_f8121c() { - float res = textureOffset(arg_0, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); + float res = textureOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleCompareLevel_f8121c() { - float res = textureOffset(arg_0, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); + float res = textureOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleCompareLevel_f8121c() { - float res = textureOffset(arg_0, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); + float res = textureOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleGrad/21402b.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleGrad/21402b.wgsl.expected.glsl index de4d084297..41227a4f63 100644 --- a/test/intrinsics/gen/textureSampleGrad/21402b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleGrad/21402b.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleGrad_21402b() { - vec4 res = textureGrad(arg_0, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleGrad_21402b() { - vec4 res = textureGrad(arg_0, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleGrad_21402b() { - vec4 res = textureGrad(arg_0, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleGrad/2ecd8f.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleGrad/2ecd8f.wgsl.expected.glsl index 5193326d90..e447fd5d59 100644 --- a/test/intrinsics/gen/textureSampleGrad/2ecd8f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleGrad/2ecd8f.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleGrad_2ecd8f() { - vec4 res = textureGrad(arg_0, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleGrad_2ecd8f() { - vec4 res = textureGrad(arg_0, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleGrad_2ecd8f() { - vec4 res = textureGrad(arg_0, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleGrad/468f88.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleGrad/468f88.wgsl.expected.glsl index 1a2c90c0ce..cebae2ccb2 100644 --- a/test/intrinsics/gen/textureSampleGrad/468f88.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleGrad/468f88.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleGrad_468f88() { - vec4 res = textureGradOffset(arg_0, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); + vec4 res = textureGradOffset(arg_0_arg_1, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleGrad_468f88() { - vec4 res = textureGradOffset(arg_0, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); + vec4 res = textureGradOffset(arg_0_arg_1, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleGrad_468f88() { - vec4 res = textureGradOffset(arg_0, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); + vec4 res = textureGradOffset(arg_0_arg_1, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleGrad/521263.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleGrad/521263.wgsl.expected.glsl index 9f76b21e77..12d0e0005e 100644 --- a/test/intrinsics/gen/textureSampleGrad/521263.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleGrad/521263.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleGrad_521263() { - vec4 res = textureGrad(arg_0, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleGrad_521263() { - vec4 res = textureGrad(arg_0, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleGrad_521263() { - vec4 res = textureGrad(arg_0, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleGrad/5312f4.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleGrad/5312f4.wgsl.expected.glsl index e25e7db8e5..7749e1e913 100644 --- a/test/intrinsics/gen/textureSampleGrad/5312f4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleGrad/5312f4.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleGrad_5312f4() { - vec4 res = textureGrad(arg_0, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleGrad_5312f4() { - vec4 res = textureGrad(arg_0, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleGrad_5312f4() { - vec4 res = textureGrad(arg_0, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleGrad/872f00.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleGrad/872f00.wgsl.expected.glsl index 627e86b6a1..b4f339d678 100644 --- a/test/intrinsics/gen/textureSampleGrad/872f00.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleGrad/872f00.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleGrad_872f00() { - vec4 res = textureGradOffset(arg_0, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); + vec4 res = textureGradOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleGrad_872f00() { - vec4 res = textureGradOffset(arg_0, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); + vec4 res = textureGradOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleGrad_872f00() { - vec4 res = textureGradOffset(arg_0, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); + vec4 res = textureGradOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), vec2(0.0f, 0.0f), vec2(0.0f, 0.0f), ivec2(0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleGrad/e383db.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleGrad/e383db.wgsl.expected.glsl index 1f9fd0e814..d6575ff52a 100644 --- a/test/intrinsics/gen/textureSampleGrad/e383db.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleGrad/e383db.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_e383db() { - vec4 res = textureGrad(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_e383db() { - vec4 res = textureGrad(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleGrad_e383db() { - vec4 res = textureGrad(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); + vec4 res = textureGrad(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleGrad/e9a2f7.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleGrad/e9a2f7.wgsl.expected.glsl index 50c3d24c29..e5e3eef537 100644 --- a/test/intrinsics/gen/textureSampleGrad/e9a2f7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleGrad/e9a2f7.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleGrad_e9a2f7() { - vec4 res = textureGradOffset(arg_0, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), ivec3(0, 0, 0)); + vec4 res = textureGradOffset(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), ivec3(0, 0, 0)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleGrad_e9a2f7() { - vec4 res = textureGradOffset(arg_0, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), ivec3(0, 0, 0)); + vec4 res = textureGradOffset(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), ivec3(0, 0, 0)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleGrad_e9a2f7() { - vec4 res = textureGradOffset(arg_0, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), ivec3(0, 0, 0)); + vec4 res = textureGradOffset(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), vec3(0.0f, 0.0f, 0.0f), ivec3(0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/02be59.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/02be59.wgsl.expected.glsl index 2f99e42063..99d6d8717f 100644 --- a/test/intrinsics/gen/textureSampleLevel/02be59.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/02be59.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_02be59() { - float res = textureLod(arg_0, vec2(0.0f, 0.0f), 0).x; + float res = textureLod(arg_0_arg_1, vec2(0.0f, 0.0f), 0).x; } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_02be59() { - float res = textureLod(arg_0, vec2(0.0f, 0.0f), 0).x; + float res = textureLod(arg_0_arg_1, vec2(0.0f, 0.0f), 0).x; } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_02be59() { - float res = textureLod(arg_0, vec2(0.0f, 0.0f), 0).x; + float res = textureLod(arg_0_arg_1, vec2(0.0f, 0.0f), 0).x; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/0bdd9a.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/0bdd9a.wgsl.expected.glsl index e386347bf9..703a317cb0 100644 --- a/test/intrinsics/gen/textureSampleLevel/0bdd9a.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/0bdd9a.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_0bdd9a() { - vec4 res = textureLod(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_0bdd9a() { - vec4 res = textureLod(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_0bdd9a() { - vec4 res = textureLod(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/1b0291.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/1b0291.wgsl.expected.glsl index 47b1c7ab60..2b347455b5 100644 --- a/test/intrinsics/gen/textureSampleLevel/1b0291.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/1b0291.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleLevel_1b0291() { - float res = textureLod(arg_0, vec3(0.0f, 0.0f, 0.0f), 0).x; + float res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 0).x; } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleLevel_1b0291() { - float res = textureLod(arg_0, vec3(0.0f, 0.0f, 0.0f), 0).x; + float res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 0).x; } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleLevel_1b0291() { - float res = textureLod(arg_0, vec3(0.0f, 0.0f, 0.0f), 0).x; + float res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 0).x; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/1bf73e.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/1bf73e.wgsl.expected.glsl index a7334dced6..bd90c62012 100644 --- a/test/intrinsics/gen/textureSampleLevel/1bf73e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/1bf73e.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_1bf73e() { - float res = textureLod(arg_0, vec3(0.0f, 0.0f, float(1)), 0).x; + float res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 0).x; } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_1bf73e() { - float res = textureLod(arg_0, vec3(0.0f, 0.0f, float(1)), 0).x; + float res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 0).x; } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_1bf73e() { - float res = textureLod(arg_0, vec3(0.0f, 0.0f, float(1)), 0).x; + float res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 0).x; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/302be4.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/302be4.wgsl.expected.glsl index ed4cb3f997..a66ae27561 100644 --- a/test/intrinsics/gen/textureSampleLevel/302be4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/302be4.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_302be4() { - vec4 res = textureLod(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_302be4() { - vec4 res = textureLod(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_302be4() { - vec4 res = textureLod(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/47daa4.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/47daa4.wgsl.expected.glsl index 1ab552133c..6c6a30c3c9 100644 --- a/test/intrinsics/gen/textureSampleLevel/47daa4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/47daa4.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_47daa4() { - float res = textureLodOffset(arg_0, vec2(0.0f, 0.0f), 0, ivec2(0, 0)).x; + float res = textureLodOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 0, ivec2(0, 0)).x; } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_47daa4() { - float res = textureLodOffset(arg_0, vec2(0.0f, 0.0f), 0, ivec2(0, 0)).x; + float res = textureLodOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 0, ivec2(0, 0)).x; } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_47daa4() { - float res = textureLodOffset(arg_0, vec2(0.0f, 0.0f), 0, ivec2(0, 0)).x; + float res = textureLodOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 0, ivec2(0, 0)).x; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/690d95.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/690d95.wgsl.expected.glsl index 8d561bb617..e12972cbad 100644 --- a/test/intrinsics/gen/textureSampleLevel/690d95.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/690d95.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_690d95() { - vec4 res = textureLodOffset(arg_0, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); + vec4 res = textureLodOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_690d95() { - vec4 res = textureLodOffset(arg_0, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); + vec4 res = textureLodOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_690d95() { - vec4 res = textureLodOffset(arg_0, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); + vec4 res = textureLodOffset(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f, ivec2(0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/979816.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/979816.wgsl.expected.glsl index 606f3451fe..70dd6199c4 100644 --- a/test/intrinsics/gen/textureSampleLevel/979816.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/979816.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_979816() { - vec4 res = textureLod(arg_0, vec2(0.0f, 0.0f), 0.0f); + vec4 res = textureLod(arg_0_arg_1, vec2(0.0f, 0.0f), 0.0f); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_979816() { - vec4 res = textureLod(arg_0, vec2(0.0f, 0.0f), 0.0f); + vec4 res = textureLod(arg_0_arg_1, vec2(0.0f, 0.0f), 0.0f); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_979816() { - vec4 res = textureLod(arg_0, vec2(0.0f, 0.0f), 0.0f); + vec4 res = textureLod(arg_0_arg_1, vec2(0.0f, 0.0f), 0.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/9bd37b.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/9bd37b.wgsl.expected.glsl index 9efead976b..4054927ffe 100644 --- a/test/intrinsics/gen/textureSampleLevel/9bd37b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/9bd37b.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleLevel_9bd37b() { - vec4 res = textureLodOffset(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f, ivec3(0, 0, 0)); + vec4 res = textureLodOffset(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f, ivec3(0, 0, 0)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleLevel_9bd37b() { - vec4 res = textureLodOffset(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f, ivec3(0, 0, 0)); + vec4 res = textureLodOffset(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f, ivec3(0, 0, 0)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleLevel_9bd37b() { - vec4 res = textureLodOffset(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f, ivec3(0, 0, 0)); + vec4 res = textureLodOffset(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f, ivec3(0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/a4af26.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/a4af26.wgsl.expected.glsl index 59142f382d..ece5be10f5 100644 --- a/test/intrinsics/gen/textureSampleLevel/a4af26.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/a4af26.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_a4af26() { - vec4 res = textureLodOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); + vec4 res = textureLodOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_a4af26() { - vec4 res = textureLodOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); + vec4 res = textureLodOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_a4af26() { - vec4 res = textureLodOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); + vec4 res = textureLodOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 1.0f, ivec2(0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/abfcc0.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/abfcc0.wgsl.expected.glsl index 446ff454ea..66ef007693 100644 --- a/test/intrinsics/gen/textureSampleLevel/abfcc0.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/abfcc0.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleLevel_abfcc0() { - vec4 res = textureLod(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleLevel_abfcc0() { - vec4 res = textureLod(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler3D arg_0; +uniform highp sampler3D arg_0_arg_1; void textureSampleLevel_abfcc0() { - vec4 res = textureLod(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/ae5e39.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/ae5e39.wgsl.expected.glsl index ed66944a41..91c547a6a6 100644 --- a/test/intrinsics/gen/textureSampleLevel/ae5e39.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/ae5e39.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_ae5e39() { - float res = textureLod(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 0).x; + float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 0).x; } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_ae5e39() { - float res = textureLod(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 0).x; + float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 0).x; } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp samplerCubeArray arg_0; +uniform highp samplerCubeArray arg_0_arg_1; void textureSampleLevel_ae5e39() { - float res = textureLod(arg_0, vec4(0.0f, 0.0f, 0.0f, float(1)), 0).x; + float res = textureLod(arg_0_arg_1, vec4(0.0f, 0.0f, 0.0f, float(1)), 0).x; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/ba93b3.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/ba93b3.wgsl.expected.glsl index 72dc47aa55..0c0ac10ef1 100644 --- a/test/intrinsics/gen/textureSampleLevel/ba93b3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/ba93b3.wgsl.expected.glsl @@ -3,11 +3,11 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_ba93b3() { - float res = textureLodOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 0, ivec2(0, 0)).x; + float res = textureLodOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 0, ivec2(0, 0)).x; } struct tint_symbol { @@ -43,11 +43,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_ba93b3() { - float res = textureLodOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 0, ivec2(0, 0)).x; + float res = textureLodOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 0, ivec2(0, 0)).x; } struct tint_symbol { @@ -73,11 +73,11 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DArray arg_0; +uniform highp sampler2DArray arg_0_arg_1; void textureSampleLevel_ba93b3() { - float res = textureLodOffset(arg_0, vec3(0.0f, 0.0f, float(1)), 0, ivec2(0, 0)).x; + float res = textureLodOffset(arg_0_arg_1, vec3(0.0f, 0.0f, float(1)), 0, ivec2(0, 0)).x; } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/c32df7.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/c32df7.wgsl.expected.glsl index 538222de4d..c11197e495 100644 --- a/test/intrinsics/gen/textureSampleLevel/c32df7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/c32df7.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleLevel_c32df7() { - vec4 res = textureLod(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleLevel_c32df7() { - vec4 res = textureLod(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp samplerCube arg_0; +uniform highp samplerCube arg_0_arg_1; void textureSampleLevel_c32df7() { - vec4 res = textureLod(arg_0, vec3(0.0f, 0.0f, 0.0f), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec3(0.0f, 0.0f, 0.0f), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureSampleLevel/c6aca6.wgsl.expected.glsl b/test/intrinsics/gen/textureSampleLevel/c6aca6.wgsl.expected.glsl index 7f18f4d385..56c4d64537 100644 --- a/test/intrinsics/gen/textureSampleLevel/c6aca6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureSampleLevel/c6aca6.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_c6aca6() { - vec4 res = textureLod(arg_0, vec2(0.0f, 0.0f), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -34,11 +34,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_c6aca6() { - vec4 res = textureLod(arg_0, vec2(0.0f, 0.0f), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f); } struct tint_symbol { @@ -57,11 +57,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2D arg_0; +uniform highp sampler2D arg_0_arg_1; void textureSampleLevel_c6aca6() { - vec4 res = textureLod(arg_0, vec2(0.0f, 0.0f), 1.0f); + vec4 res = textureLod(arg_0_arg_1, vec2(0.0f, 0.0f), 1.0f); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl index e6c280f1fa..5bfbd5a310 100644 --- a/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_05ce15() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_05ce15() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_05ce15() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl index 855a781d29..899d9ae281 100644 --- a/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_064c7f() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_064c7f() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_064c7f() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/068641.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/068641.wgsl.expected.glsl index f85a42f2f1..3bc576d83b 100644 --- a/test/intrinsics/gen/textureStore/068641.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/068641.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_068641() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_068641() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_068641() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl index ba01e20070..10d2103fc9 100644 --- a/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_0af6b5() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_0af6b5() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_0af6b5() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl index 4dd1937a58..38d3bf3120 100644 --- a/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_0c3dff() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_0c3dff() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_0c3dff() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl index 702ebf0438..f80e662152 100644 --- a/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/102722.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_102722() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_102722() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_102722() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl index 4921de7af8..9e86acc263 100644 --- a/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_1bbd08() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_1bbd08() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_1bbd08() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl index 9405cf60cb..03a0d5476c 100644 --- a/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_1c02e7() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_1c02e7() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_1c02e7() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl index 67110e6d88..4c3d0f4b06 100644 --- a/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/22d955.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_22d955() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_22d955() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_22d955() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl index d958404c2c..bb9a34a068 100644 --- a/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_26bf70() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_26bf70() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_26bf70() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl index 3bdbf597b7..9f508c4c30 100644 --- a/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_2796b4() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_2796b4() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_2796b4() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.glsl index 36b0c9c999..2e783a823f 100644 --- a/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_2ac6c7() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_2ac6c7() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_2ac6c7() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl index 98615c4a5c..23b22b78fc 100644 --- a/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_2eb2a4() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_2eb2a4() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_2eb2a4() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl index 9fdd0385a0..67cb1040d6 100644 --- a/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_2ed2a3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_2ed2a3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_2ed2a3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl index d0b5b4b3a3..0aa0ee9dc1 100644 --- a/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/31745b.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_31745b() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_31745b() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_31745b() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/32f368.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/32f368.wgsl.expected.glsl index b98026b390..301de1ea0b 100644 --- a/test/intrinsics/gen/textureStore/32f368.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/32f368.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_32f368() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_32f368() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_32f368() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl index 37a747f8e8..ed5638d562 100644 --- a/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/331aee.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_331aee() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_331aee() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_331aee() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl index a5590b5662..ba1892a936 100644 --- a/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_38e8d7() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_38e8d7() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_38e8d7() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl index 9f1195f616..096e97e38d 100644 --- a/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_3a52ac() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_3a52ac() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_3a52ac() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl index 58922a1203..bfd8d20c3b 100644 --- a/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_3bb7a1() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_3bb7a1() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_3bb7a1() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl index c70bf98fe5..3d4a5337d5 100644 --- a/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_3bec15() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_3bec15() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_3bec15() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl index 73726f375f..eb5dba4ebd 100644 --- a/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_441ba8() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_441ba8() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_441ba8() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl index a76727c36d..1e09510fc2 100644 --- a/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_4fc057() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_4fc057() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_4fc057() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl index af0a2c99c3..ff0494c314 100644 --- a/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_5a2f8f() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_5a2f8f() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_5a2f8f() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl index a07aa4519e..29940bab9f 100644 --- a/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/60975f.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_60975f() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_60975f() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_60975f() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl index 3f28a46b61..18fa4c43b5 100644 --- a/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_682fd6() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_682fd6() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_682fd6() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.glsl index 1c01bd6e58..3ee2e118fa 100644 --- a/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_6b75c3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_6b75c3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_6b75c3() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl index 673dc80336..83d62c938e 100644 --- a/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_6b80d2() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_6b80d2() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_6b80d2() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl index 6df0230b1f..d97f571547 100644 --- a/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_6cff2e() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_6cff2e() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_6cff2e() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl index a9230b0ba8..6c3ab0b959 100644 --- a/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/6da692.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_6da692() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_6da692() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_6da692() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl index e2a352fef0..e44e117cc8 100644 --- a/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/731349.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_731349() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_731349() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_731349() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl index 544b0dca7e..ea0ad5afb4 100644 --- a/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/752da6.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_752da6() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_752da6() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_752da6() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl index 7e82124b03..78317653bc 100644 --- a/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_77c0ae() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_77c0ae() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2D arg_0; +uniform highp writeonly uimage2D arg_0_1; void textureStore_77c0ae() { - imageStore(arg_0, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec2(0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl index 0ee1f4f2f4..36cd1e3371 100644 --- a/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_7cec8d() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_7cec8d() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_7cec8d() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl index 5bb7ae0339..a4db5c815c 100644 --- a/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_7f7fae() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_7f7fae() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_7f7fae() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl index 2128124736..9a7cdc4963 100644 --- a/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/804942.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_804942() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_804942() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_804942() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl index 3bcdd06d94..dc6358d2d8 100644 --- a/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/805dae.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_805dae() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_805dae() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_805dae() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl index f1b7efa104..39eff32cd1 100644 --- a/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_83bcc1() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_83bcc1() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_83bcc1() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/872747.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/872747.wgsl.expected.glsl index c873a2608e..3bfd86a245 100644 --- a/test/intrinsics/gen/textureStore/872747.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/872747.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_872747() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_872747() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_872747() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl index 9b6251a7be..355bf61076 100644 --- a/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_8e0479() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_8e0479() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_8e0479() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl index 28b3323dd9..643f526ba7 100644 --- a/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_8f71a1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_8f71a1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_8f71a1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl index ed57dd5709..d0858ac52a 100644 --- a/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/969534.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_969534() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_969534() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_969534() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl index 91b696b119..968517cc1f 100644 --- a/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_9a3ecc() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_9a3ecc() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_9a3ecc() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl index 4ed6d37b3e..029529742d 100644 --- a/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_9d9cd5() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_9d9cd5() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_9d9cd5() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl index 908f98921c..2ddff6ce42 100644 --- a/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_9e3ec5() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_9e3ec5() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_9e3ec5() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl index 0c8095c6fd..a822d0e947 100644 --- a/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_ac67aa() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_ac67aa() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_ac67aa() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.glsl index 650e715756..fd83a7050f 100644 --- a/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_b706b1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_b706b1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_b706b1() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl index 0bbca2b33b..d4a040ac18 100644 --- a/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_bbcb7f() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_bbcb7f() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2D arg_0; +uniform highp writeonly iimage2D arg_0_1; void textureStore_bbcb7f() { - imageStore(arg_0, ivec2(0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec2(0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl index 3b1b5a4edb..be19406da7 100644 --- a/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_be6e30() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_be6e30() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2D arg_0; +uniform highp writeonly image2D arg_0_1; void textureStore_be6e30() { - imageStore(arg_0, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec2(0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl index 1324c3637a..2a45055519 100644 --- a/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_bf775c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_bf775c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_bf775c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl index 9a3f2d029d..3e8be5f22d 100644 --- a/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_c5af1e() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_c5af1e() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_c5af1e() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl index 351fecfcfd..2a7f17ad7d 100644 --- a/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/c863be.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_c863be() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_c863be() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image2DArray arg_0; +uniform highp writeonly image2DArray arg_0_1; void textureStore_c863be() { - imageStore(arg_0, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 1), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.glsl index 2c696c0bfe..571a3229b2 100644 --- a/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_d73b5c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_d73b5c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly iimage1D arg_0; +uniform highp writeonly iimage1D arg_0_1; void textureStore_d73b5c() { - imageStore(arg_0, 1, ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, 1, ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.glsl index a8d92c3814..b4b7f1d720 100644 --- a/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_dd7d81() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_dd7d81() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_dd7d81() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl index 2c5aa6dfff..34d7d8de73 100644 --- a/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/dde364.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_dde364() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_dde364() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage2DArray arg_0; +uniform highp writeonly uimage2DArray arg_0_1; void textureStore_dde364() { - imageStore(arg_0, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 1), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.glsl index 5db7f80334..4411bc3853 100644 --- a/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_e885e8() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_e885e8() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly image1D arg_0; +uniform highp writeonly image1D arg_0_1; void textureStore_e885e8() { - imageStore(arg_0, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, 1, vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl index fd4dfb3d2c..77f4135da1 100644 --- a/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_eb702f() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_eb702f() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_eb702f() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl index 5cdcf91b10..dbbe8cb587 100644 --- a/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_eb78b9() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_eb78b9() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage3D arg_0; +uniform highp writeonly iimage3D arg_0_1; void textureStore_eb78b9() { - imageStore(arg_0, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 0), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl index 9c8618b439..47ba299a81 100644 --- a/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_ee6acc() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_ee6acc() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly image3D arg_0; +uniform highp writeonly image3D arg_0_1; void textureStore_ee6acc() { - imageStore(arg_0, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); + imageStore(arg_0_1, ivec3(0, 0, 0), vec4(0.0f, 0.0f, 0.0f, 0.0f)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.glsl index caab22849a..1e51fe55c2 100644 --- a/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_ef9f2f() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_ef9f2f() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_ef9f2f() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl index 3aae373bf8..09fd259710 100644 --- a/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_f8dead() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_f8dead() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly uimage3D arg_0; +uniform highp writeonly uimage3D arg_0_1; void textureStore_f8dead() { - imageStore(arg_0, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, ivec3(0, 0, 0), uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl index cfe8a94a74..b02da2178f 100644 --- a/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_f9be83() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_f9be83() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_f9be83() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.glsl index 8225121cf0..882c4ee7f4 100644 --- a/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.glsl @@ -3,10 +3,10 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_fb9a8f() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -42,10 +42,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_fb9a8f() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { @@ -71,10 +71,10 @@ ERROR: 2 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp writeonly uimage1D arg_0; +uniform highp writeonly uimage1D arg_0_1; void textureStore_fb9a8f() { - imageStore(arg_0, 1, uvec4(0u, 0u, 0u, 0u)); + imageStore(arg_0_1, 1, uvec4(0u, 0u, 0u, 0u)); } struct tint_symbol { diff --git a/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl b/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl index 3a08d14b97..7e08398da4 100644 --- a/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl +++ b/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.glsl @@ -1,10 +1,10 @@ #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_fbf53f() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -33,10 +33,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_fbf53f() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { @@ -55,10 +55,10 @@ void main() { #version 310 es precision mediump float; -uniform highp writeonly iimage2DArray arg_0; +uniform highp writeonly iimage2DArray arg_0_1; void textureStore_fbf53f() { - imageStore(arg_0, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); + imageStore(arg_0_1, ivec3(0, 0, 1), ivec4(0, 0, 0, 0)); } struct tint_symbol { diff --git a/test/intrinsics/textureDimensions/depth_ms.spvasm.expected.glsl b/test/intrinsics/textureDimensions/depth_ms.spvasm.expected.glsl index 490cd99151..bdab771a18 100644 --- a/test/intrinsics/textureDimensions/depth_ms.spvasm.expected.glsl +++ b/test/intrinsics/textureDimensions/depth_ms.spvasm.expected.glsl @@ -1,12 +1,12 @@ #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; vec4 tint_symbol_1 = vec4(0.0f, 0.0f, 0.0f, 0.0f); +uniform highp sampler2DMS arg_0_1; void textureDimensions_f60bdb() { ivec2 res = ivec2(0, 0); - ivec2 x_16 = ivec2(textureSize(arg_0)); + ivec2 x_16 = ivec2(textureSize(arg_0_1)); res = x_16; return; } @@ -52,11 +52,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureDimensions_f60bdb() { ivec2 res = ivec2(0, 0); - ivec2 x_16 = ivec2(textureSize(arg_0)); + ivec2 x_16 = ivec2(textureSize(arg_0_1)); res = x_16; return; } @@ -85,11 +85,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureDimensions_f60bdb() { ivec2 res = ivec2(0, 0); - ivec2 x_16 = ivec2(textureSize(arg_0)); + ivec2 x_16 = ivec2(textureSize(arg_0_1)); res = x_16; return; } diff --git a/test/intrinsics/textureGather/f32/alpha.wgsl.expected.glsl b/test/intrinsics/textureGather/f32/alpha.wgsl.expected.glsl index ff11b75dcf..d66b16269e 100644 --- a/test/intrinsics/textureGather/f32/alpha.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/f32/alpha.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D t; +uniform highp sampler2D t_s; void tint_symbol() { - vec4 res = textureGather(t, vec2(0.0f, 0.0f), 3); + vec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 3); return; } void main() { diff --git a/test/intrinsics/textureGather/f32/blue.wgsl.expected.glsl b/test/intrinsics/textureGather/f32/blue.wgsl.expected.glsl index 3ff72f5588..23d9bf92cd 100644 --- a/test/intrinsics/textureGather/f32/blue.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/f32/blue.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D t; +uniform highp sampler2D t_s; void tint_symbol() { - vec4 res = textureGather(t, vec2(0.0f, 0.0f), 2); + vec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 2); return; } void main() { diff --git a/test/intrinsics/textureGather/f32/green.wgsl.expected.glsl b/test/intrinsics/textureGather/f32/green.wgsl.expected.glsl index 82b8ae81f3..0510c4c987 100644 --- a/test/intrinsics/textureGather/f32/green.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/f32/green.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D t; +uniform highp sampler2D t_s; void tint_symbol() { - vec4 res = textureGather(t, vec2(0.0f, 0.0f), 1); + vec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 1); return; } void main() { diff --git a/test/intrinsics/textureGather/f32/red.wgsl.expected.glsl b/test/intrinsics/textureGather/f32/red.wgsl.expected.glsl index 6a161774b1..f3ae667ca6 100644 --- a/test/intrinsics/textureGather/f32/red.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/f32/red.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp sampler2D t; +uniform highp sampler2D t_s; void tint_symbol() { - vec4 res = textureGather(t, vec2(0.0f, 0.0f), 0); + vec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 0); return; } void main() { diff --git a/test/intrinsics/textureGather/i32/alpha.wgsl.expected.glsl b/test/intrinsics/textureGather/i32/alpha.wgsl.expected.glsl index 3d98065364..3c6bc4068b 100644 --- a/test/intrinsics/textureGather/i32/alpha.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/i32/alpha.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp isampler2D t; +uniform highp isampler2D t_s; void tint_symbol() { - ivec4 res = textureGather(t, vec2(0.0f, 0.0f), 3); + ivec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 3); return; } void main() { diff --git a/test/intrinsics/textureGather/i32/blue.wgsl.expected.glsl b/test/intrinsics/textureGather/i32/blue.wgsl.expected.glsl index 2f2cce0d39..ca6190029a 100644 --- a/test/intrinsics/textureGather/i32/blue.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/i32/blue.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp isampler2D t; +uniform highp isampler2D t_s; void tint_symbol() { - ivec4 res = textureGather(t, vec2(0.0f, 0.0f), 2); + ivec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 2); return; } void main() { diff --git a/test/intrinsics/textureGather/i32/green.wgsl.expected.glsl b/test/intrinsics/textureGather/i32/green.wgsl.expected.glsl index 497c577591..86f861a23b 100644 --- a/test/intrinsics/textureGather/i32/green.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/i32/green.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp isampler2D t; +uniform highp isampler2D t_s; void tint_symbol() { - ivec4 res = textureGather(t, vec2(0.0f, 0.0f), 1); + ivec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 1); return; } void main() { diff --git a/test/intrinsics/textureGather/i32/red.wgsl.expected.glsl b/test/intrinsics/textureGather/i32/red.wgsl.expected.glsl index 25378bc483..da5037b551 100644 --- a/test/intrinsics/textureGather/i32/red.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/i32/red.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp isampler2D t; +uniform highp isampler2D t_s; void tint_symbol() { - ivec4 res = textureGather(t, vec2(0.0f, 0.0f), 0); + ivec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 0); return; } void main() { diff --git a/test/intrinsics/textureGather/u32/alpha.wgsl.expected.glsl b/test/intrinsics/textureGather/u32/alpha.wgsl.expected.glsl index a65eea9d90..e172b37355 100644 --- a/test/intrinsics/textureGather/u32/alpha.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/u32/alpha.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp usampler2D t; +uniform highp usampler2D t_s; void tint_symbol() { - uvec4 res = textureGather(t, vec2(0.0f, 0.0f), 3); + uvec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 3); return; } void main() { diff --git a/test/intrinsics/textureGather/u32/blue.wgsl.expected.glsl b/test/intrinsics/textureGather/u32/blue.wgsl.expected.glsl index 9f2296adf5..b5fb696faf 100644 --- a/test/intrinsics/textureGather/u32/blue.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/u32/blue.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp usampler2D t; +uniform highp usampler2D t_s; void tint_symbol() { - uvec4 res = textureGather(t, vec2(0.0f, 0.0f), 2); + uvec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 2); return; } void main() { diff --git a/test/intrinsics/textureGather/u32/green.wgsl.expected.glsl b/test/intrinsics/textureGather/u32/green.wgsl.expected.glsl index 6e3b62767c..a9e95b42b1 100644 --- a/test/intrinsics/textureGather/u32/green.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/u32/green.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp usampler2D t; +uniform highp usampler2D t_s; void tint_symbol() { - uvec4 res = textureGather(t, vec2(0.0f, 0.0f), 1); + uvec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 1); return; } void main() { diff --git a/test/intrinsics/textureGather/u32/red.wgsl.expected.glsl b/test/intrinsics/textureGather/u32/red.wgsl.expected.glsl index 67132017d8..4a21368eb6 100644 --- a/test/intrinsics/textureGather/u32/red.wgsl.expected.glsl +++ b/test/intrinsics/textureGather/u32/red.wgsl.expected.glsl @@ -1,11 +1,11 @@ #version 310 es precision mediump float; -uniform highp usampler2D t; +uniform highp usampler2D t_s; void tint_symbol() { - uvec4 res = textureGather(t, vec2(0.0f, 0.0f), 0); + uvec4 res = textureGather(t_s, vec2(0.0f, 0.0f), 0); return; } void main() { diff --git a/test/intrinsics/textureLoad/depth_ms.spvasm.expected.glsl b/test/intrinsics/textureLoad/depth_ms.spvasm.expected.glsl index e9d767d23a..5f2df56633 100644 --- a/test/intrinsics/textureLoad/depth_ms.spvasm.expected.glsl +++ b/test/intrinsics/textureLoad/depth_ms.spvasm.expected.glsl @@ -1,12 +1,12 @@ #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; vec4 tint_symbol_1 = vec4(0.0f, 0.0f, 0.0f, 0.0f); +uniform highp sampler2DMS arg_0_1; void textureLoad_6273b1() { float res = 0.0f; - vec4 x_17 = vec4(texelFetch(arg_0, ivec2(0, 0), 1).x, 0.0f, 0.0f, 0.0f); + vec4 x_17 = vec4(texelFetch(arg_0_1, ivec2(0, 0), 1).x, 0.0f, 0.0f, 0.0f); res = x_17.x; return; } @@ -52,11 +52,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureLoad_6273b1() { float res = 0.0f; - vec4 x_17 = vec4(texelFetch(arg_0, ivec2(0, 0), 1).x, 0.0f, 0.0f, 0.0f); + vec4 x_17 = vec4(texelFetch(arg_0_1, ivec2(0, 0), 1).x, 0.0f, 0.0f, 0.0f); res = x_17.x; return; } @@ -85,11 +85,11 @@ void main() { #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureLoad_6273b1() { float res = 0.0f; - vec4 x_17 = vec4(texelFetch(arg_0, ivec2(0, 0), 1).x, 0.0f, 0.0f, 0.0f); + vec4 x_17 = vec4(texelFetch(arg_0_1, ivec2(0, 0), 1).x, 0.0f, 0.0f, 0.0f); res = x_17.x; return; } diff --git a/test/intrinsics/textureNumSamples/depth_ms.spvasm.expected.glsl b/test/intrinsics/textureNumSamples/depth_ms.spvasm.expected.glsl index dab32c8d0b..ee1281eeff 100644 --- a/test/intrinsics/textureNumSamples/depth_ms.spvasm.expected.glsl +++ b/test/intrinsics/textureNumSamples/depth_ms.spvasm.expected.glsl @@ -3,12 +3,12 @@ SKIP: FAILED #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; vec4 tint_symbol_1 = vec4(0.0f, 0.0f, 0.0f, 0.0f); +uniform highp sampler2DMS arg_0_1; void textureNumSamples_a3c8a0() { int res = 0; - int x_16 = textureSamples(arg_0);; + int x_16 = textureSamples(arg_0_1);; res = x_16; return; } @@ -62,11 +62,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureNumSamples_a3c8a0() { int res = 0; - int x_16 = textureSamples(arg_0);; + int x_16 = textureSamples(arg_0_1);; res = x_16; return; } @@ -103,11 +103,11 @@ ERROR: 3 compilation errors. No code generated. #version 310 es precision mediump float; -uniform highp sampler2DMS arg_0; +uniform highp sampler2DMS arg_0_1; void textureNumSamples_a3c8a0() { int res = 0; - int x_16 = textureSamples(arg_0);; + int x_16 = textureSamples(arg_0_1);; res = x_16; return; } diff --git a/test/types/sampler.wgsl.expected.glsl b/test/types/sampler.wgsl.expected.glsl index fe648718ed..e27344deb5 100644 --- a/test/types/sampler.wgsl.expected.glsl +++ b/test/types/sampler.wgsl.expected.glsl @@ -1,9 +1,6 @@ #version 310 es precision mediump float; - - - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; diff --git a/test/types/texture/depth/2d.wgsl.expected.glsl b/test/types/texture/depth/2d.wgsl.expected.glsl index 2b6d25df91..e27344deb5 100644 --- a/test/types/texture/depth/2d.wgsl.expected.glsl +++ b/test/types/texture/depth/2d.wgsl.expected.glsl @@ -1,8 +1,6 @@ #version 310 es precision mediump float; -uniform highp sampler2D t_f; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; diff --git a/test/types/texture/depth/2d_array.wgsl.expected.glsl b/test/types/texture/depth/2d_array.wgsl.expected.glsl index 6e356e132e..e27344deb5 100644 --- a/test/types/texture/depth/2d_array.wgsl.expected.glsl +++ b/test/types/texture/depth/2d_array.wgsl.expected.glsl @@ -1,8 +1,6 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray t_f; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; diff --git a/test/types/texture/depth/cube.wgsl.expected.glsl b/test/types/texture/depth/cube.wgsl.expected.glsl index cb259d89eb..e27344deb5 100644 --- a/test/types/texture/depth/cube.wgsl.expected.glsl +++ b/test/types/texture/depth/cube.wgsl.expected.glsl @@ -1,8 +1,6 @@ #version 310 es precision mediump float; -uniform highp samplerCube t_f; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; diff --git a/test/types/texture/depth/cube_array.wgsl.expected.glsl b/test/types/texture/depth/cube_array.wgsl.expected.glsl index 1121d736ad..e27344deb5 100644 --- a/test/types/texture/depth/cube_array.wgsl.expected.glsl +++ b/test/types/texture/depth/cube_array.wgsl.expected.glsl @@ -1,10 +1,6 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp samplerCubeArray t_f; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; @@ -14,10 +10,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArray' : Reserved word. -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/types/texture/multisampled/2d.wgsl.expected.glsl b/test/types/texture/multisampled/2d.wgsl.expected.glsl index 460c59c415..e27344deb5 100644 --- a/test/types/texture/multisampled/2d.wgsl.expected.glsl +++ b/test/types/texture/multisampled/2d.wgsl.expected.glsl @@ -1,10 +1,6 @@ #version 310 es precision mediump float; -uniform highp sampler2DMS t_f; -uniform highp isampler2DMS t_i; -uniform highp usampler2DMS t_u; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; diff --git a/test/types/texture/sampled/1d.wgsl.expected.glsl b/test/types/texture/sampled/1d.wgsl.expected.glsl index a5b08131c6..e27344deb5 100644 --- a/test/types/texture/sampled/1d.wgsl.expected.glsl +++ b/test/types/texture/sampled/1d.wgsl.expected.glsl @@ -1,12 +1,6 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp sampler1D t_f; -uniform highp isampler1D t_i; -uniform highp usampler1D t_u; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; @@ -16,10 +10,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:4: 'sampler1D' : Reserved word. -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/types/texture/sampled/2d.wgsl.expected.glsl b/test/types/texture/sampled/2d.wgsl.expected.glsl index ce56a247b3..e27344deb5 100644 --- a/test/types/texture/sampled/2d.wgsl.expected.glsl +++ b/test/types/texture/sampled/2d.wgsl.expected.glsl @@ -1,10 +1,6 @@ #version 310 es precision mediump float; -uniform highp sampler2D t_f; -uniform highp isampler2D t_i; -uniform highp usampler2D t_u; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; diff --git a/test/types/texture/sampled/2d_array.wgsl.expected.glsl b/test/types/texture/sampled/2d_array.wgsl.expected.glsl index 3df57e9fd7..e27344deb5 100644 --- a/test/types/texture/sampled/2d_array.wgsl.expected.glsl +++ b/test/types/texture/sampled/2d_array.wgsl.expected.glsl @@ -1,10 +1,6 @@ #version 310 es precision mediump float; -uniform highp sampler2DArray t_f; -uniform highp isampler2DArray t_i; -uniform highp usampler2DArray t_u; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; diff --git a/test/types/texture/sampled/3d.wgsl.expected.glsl b/test/types/texture/sampled/3d.wgsl.expected.glsl index 48ce633c8a..e27344deb5 100644 --- a/test/types/texture/sampled/3d.wgsl.expected.glsl +++ b/test/types/texture/sampled/3d.wgsl.expected.glsl @@ -1,10 +1,6 @@ #version 310 es precision mediump float; -uniform highp sampler3D t_f; -uniform highp isampler3D t_i; -uniform highp usampler3D t_u; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; diff --git a/test/types/texture/sampled/cube.wgsl.expected.glsl b/test/types/texture/sampled/cube.wgsl.expected.glsl index daa4f95ea1..e27344deb5 100644 --- a/test/types/texture/sampled/cube.wgsl.expected.glsl +++ b/test/types/texture/sampled/cube.wgsl.expected.glsl @@ -1,10 +1,6 @@ #version 310 es precision mediump float; -uniform highp samplerCube t_f; -uniform highp isamplerCube t_i; -uniform highp usamplerCube t_u; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; diff --git a/test/types/texture/sampled/cube_array.wgsl.expected.glsl b/test/types/texture/sampled/cube_array.wgsl.expected.glsl index dada745688..e27344deb5 100644 --- a/test/types/texture/sampled/cube_array.wgsl.expected.glsl +++ b/test/types/texture/sampled/cube_array.wgsl.expected.glsl @@ -1,12 +1,6 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp samplerCubeArray t_f; -uniform highp isamplerCubeArray t_i; -uniform highp usamplerCubeArray t_u; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; @@ -16,10 +10,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:4: 'samplerCubeArray' : Reserved word. -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/types/texture/storage/1d.wgsl.expected.glsl b/test/types/texture/storage/1d.wgsl.expected.glsl index c1d9ebefd2..e27344deb5 100644 --- a/test/types/texture/storage/1d.wgsl.expected.glsl +++ b/test/types/texture/storage/1d.wgsl.expected.glsl @@ -1,25 +1,6 @@ -SKIP: FAILED - #version 310 es precision mediump float; -uniform highp writeonly image1D t_rgba8unorm; -uniform highp writeonly image1D t_rgba8snorm; -uniform highp writeonly uimage1D t_rgba8uint; -uniform highp writeonly iimage1D t_rgba8sint; -uniform highp writeonly uimage1D t_rgba16uint; -uniform highp writeonly iimage1D t_rgba16sint; -uniform highp writeonly image1D t_rgba16float; -uniform highp writeonly uimage1D t_r32uint; -uniform highp writeonly iimage1D t_r32sint; -uniform highp writeonly image1D t_r32float; -uniform highp writeonly uimage1D t_rg32uint; -uniform highp writeonly iimage1D t_rg32sint; -uniform highp writeonly image1D t_rg32float; -uniform highp writeonly uimage1D t_rgba32uint; -uniform highp writeonly iimage1D t_rgba32sint; -uniform highp writeonly image1D t_rgba32float; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; @@ -29,10 +10,3 @@ void main() { } -Error parsing GLSL shader: -ERROR: 0:4: 'image1D' : Reserved word. -ERROR: 0:4: '' : compilation terminated -ERROR: 2 compilation errors. No code generated. - - - diff --git a/test/types/texture/storage/2d.wgsl.expected.glsl b/test/types/texture/storage/2d.wgsl.expected.glsl index 002a656f78..e27344deb5 100644 --- a/test/types/texture/storage/2d.wgsl.expected.glsl +++ b/test/types/texture/storage/2d.wgsl.expected.glsl @@ -1,23 +1,6 @@ #version 310 es precision mediump float; -uniform highp writeonly image2D t_rgba8unorm; -uniform highp writeonly image2D t_rgba8snorm; -uniform highp writeonly uimage2D t_rgba8uint; -uniform highp writeonly iimage2D t_rgba8sint; -uniform highp writeonly uimage2D t_rgba16uint; -uniform highp writeonly iimage2D t_rgba16sint; -uniform highp writeonly image2D t_rgba16float; -uniform highp writeonly uimage2D t_r32uint; -uniform highp writeonly iimage2D t_r32sint; -uniform highp writeonly image2D t_r32float; -uniform highp writeonly uimage2D t_rg32uint; -uniform highp writeonly iimage2D t_rg32sint; -uniform highp writeonly image2D t_rg32float; -uniform highp writeonly uimage2D t_rgba32uint; -uniform highp writeonly iimage2D t_rgba32sint; -uniform highp writeonly image2D t_rgba32float; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; diff --git a/test/types/texture/storage/2d_array.wgsl.expected.glsl b/test/types/texture/storage/2d_array.wgsl.expected.glsl index f4a03fcd0c..e27344deb5 100644 --- a/test/types/texture/storage/2d_array.wgsl.expected.glsl +++ b/test/types/texture/storage/2d_array.wgsl.expected.glsl @@ -1,23 +1,6 @@ #version 310 es precision mediump float; -uniform highp writeonly image2DArray t_rgba8unorm; -uniform highp writeonly image2DArray t_rgba8snorm; -uniform highp writeonly uimage2DArray t_rgba8uint; -uniform highp writeonly iimage2DArray t_rgba8sint; -uniform highp writeonly uimage2DArray t_rgba16uint; -uniform highp writeonly iimage2DArray t_rgba16sint; -uniform highp writeonly image2DArray t_rgba16float; -uniform highp writeonly uimage2DArray t_r32uint; -uniform highp writeonly iimage2DArray t_r32sint; -uniform highp writeonly image2DArray t_r32float; -uniform highp writeonly uimage2DArray t_rg32uint; -uniform highp writeonly iimage2DArray t_rg32sint; -uniform highp writeonly image2DArray t_rg32float; -uniform highp writeonly uimage2DArray t_rgba32uint; -uniform highp writeonly iimage2DArray t_rgba32sint; -uniform highp writeonly image2DArray t_rgba32float; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return; diff --git a/test/types/texture/storage/3d.wgsl.expected.glsl b/test/types/texture/storage/3d.wgsl.expected.glsl index 7ec45d0d1c..e27344deb5 100644 --- a/test/types/texture/storage/3d.wgsl.expected.glsl +++ b/test/types/texture/storage/3d.wgsl.expected.glsl @@ -1,23 +1,6 @@ #version 310 es precision mediump float; -uniform highp writeonly image3D t_rgba8unorm; -uniform highp writeonly image3D t_rgba8snorm; -uniform highp writeonly uimage3D t_rgba8uint; -uniform highp writeonly iimage3D t_rgba8sint; -uniform highp writeonly uimage3D t_rgba16uint; -uniform highp writeonly iimage3D t_rgba16sint; -uniform highp writeonly image3D t_rgba16float; -uniform highp writeonly uimage3D t_r32uint; -uniform highp writeonly iimage3D t_r32sint; -uniform highp writeonly image3D t_r32float; -uniform highp writeonly uimage3D t_rg32uint; -uniform highp writeonly iimage3D t_rg32sint; -uniform highp writeonly image3D t_rg32float; -uniform highp writeonly uimage3D t_rgba32uint; -uniform highp writeonly iimage3D t_rgba32sint; -uniform highp writeonly image3D t_rgba32float; - layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; void tint_symbol() { return;