dawn-cmake/test/intrinsics/gen/textureGather
Stephen White 0b39270e01 GLSL: move entry point handling to CanonicalizeEntryPointIO transform.
Move builtin_to_string() and builtin_type() to
the CanonicalizeEntryPointIO transform. Use the former to
rename entry point IO variables to the gl_ names, and the latter
to cast values to the correct type.

Change-Id: Iddfad574ddd660ff1bfd89a399a001b967b6b67e
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78380
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-01-28 22:36:58 +00:00
..
2e0ed5.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
2e0ed5.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
2e0ed5.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
2e0ed5.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
2e0ed5.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
2e0ed5.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
3c527e.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
3c527e.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
3c527e.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
3c527e.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
3c527e.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
3c527e.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
4f2350.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
4f2350.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
4f2350.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
4f2350.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
4f2350.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
4f2350.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
9a6358.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
9a6358.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
9a6358.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
9a6358.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
9a6358.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
9a6358.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
9efca2.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
9efca2.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
9efca2.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
9efca2.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
9efca2.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
9efca2.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
10c554.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
10c554.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
10c554.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
10c554.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
10c554.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
10c554.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
15d79c.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
15d79c.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
15d79c.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
15d79c.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
15d79c.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
15d79c.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
51cf0b.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
51cf0b.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
51cf0b.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
51cf0b.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
51cf0b.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
51cf0b.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
53ece6.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
53ece6.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
53ece6.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
53ece6.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
53ece6.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
53ece6.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
57bfc6.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
57bfc6.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
57bfc6.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
57bfc6.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
57bfc6.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
57bfc6.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
69e0fb.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
69e0fb.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
69e0fb.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
69e0fb.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
69e0fb.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
69e0fb.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
587ba3.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
587ba3.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
587ba3.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
587ba3.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
587ba3.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
587ba3.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
01305f.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
01305f.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
01305f.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
01305f.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
01305f.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
01305f.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
3112e8.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
3112e8.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
3112e8.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
3112e8.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
3112e8.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
3112e8.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
06030a.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
06030a.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
06030a.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
06030a.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
06030a.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
06030a.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
43025d.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
43025d.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
43025d.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
43025d.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
43025d.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
43025d.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
93003d.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
93003d.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
93003d.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
93003d.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
93003d.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
93003d.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
bd0b1e.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
bd0b1e.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
bd0b1e.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
bd0b1e.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
bd0b1e.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
bd0b1e.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
c409ae.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
c409ae.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
c409ae.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
c409ae.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
c409ae.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
c409ae.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
c55822.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
c55822.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
c55822.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
c55822.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
c55822.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
c55822.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
e1b67d.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
e1b67d.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
e1b67d.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
e1b67d.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
e1b67d.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
e1b67d.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
e9eff6.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
e9eff6.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
e9eff6.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
e9eff6.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
e9eff6.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
e9eff6.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
f5f3ba.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
f5f3ba.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
f5f3ba.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
f5f3ba.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
f5f3ba.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
f5f3ba.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
f7995a.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
f7995a.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
f7995a.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
f7995a.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
f7995a.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
f7995a.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00