dawn-cmake/test/intrinsics/gen/select
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
..
00b848.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
00b848.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
00b848.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
00b848.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
00b848.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
00b848.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
01e2cd.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
01e2cd.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
01e2cd.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
01e2cd.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
01e2cd.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
01e2cd.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1e960b.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1e960b.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
1e960b.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
1e960b.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
1e960b.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
1e960b.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
3c25ce.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
3c25ce.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
3c25ce.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
3c25ce.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
3c25ce.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
3c25ce.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
8fa62c.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
8fa62c.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
8fa62c.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
8fa62c.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
8fa62c.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
8fa62c.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
28a27e.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
28a27e.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
28a27e.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
28a27e.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
28a27e.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
28a27e.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
51b047.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
51b047.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
51b047.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
51b047.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
51b047.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
51b047.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
78be5f.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
78be5f.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
78be5f.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
78be5f.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
78be5f.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
78be5f.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
80a9a9.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
80a9a9.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
80a9a9.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
80a9a9.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
80a9a9.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
80a9a9.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
087ea4.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
087ea4.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
087ea4.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
087ea4.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
087ea4.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
087ea4.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
99f883.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
99f883.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
99f883.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
99f883.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
99f883.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
99f883.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
266aff.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
266aff.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
266aff.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
266aff.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
266aff.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
266aff.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
416e14.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
416e14.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
416e14.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
416e14.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
416e14.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
416e14.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
713567.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
713567.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
713567.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
713567.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
713567.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
713567.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
a2860e.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
a2860e.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
a2860e.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
a2860e.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
a2860e.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
a2860e.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
ab069f.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
ab069f.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
ab069f.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
ab069f.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
ab069f.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
ab069f.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
b04721.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
b04721.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
b04721.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
b04721.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
b04721.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
b04721.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
bb8aae.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
bb8aae.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
bb8aae.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
bb8aae.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
bb8aae.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
bb8aae.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
bb447f.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
bb447f.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
bb447f.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
bb447f.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
bb447f.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
bb447f.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
bf3d29.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
bf3d29.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
bf3d29.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
bf3d29.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
bf3d29.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
bf3d29.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
c4a4ef.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
c4a4ef.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
c4a4ef.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
c4a4ef.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
c4a4ef.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
c4a4ef.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
c31f9e.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
c31f9e.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
c31f9e.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
c31f9e.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
c31f9e.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
c31f9e.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
c41bd1.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
c41bd1.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
c41bd1.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
c41bd1.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
c41bd1.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
c41bd1.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
cb9301.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
cb9301.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
cb9301.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
cb9301.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
cb9301.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
cb9301.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
e3e028.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
e3e028.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
e3e028.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
e3e028.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
e3e028.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
e3e028.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
ebfea2.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
ebfea2.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
ebfea2.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
ebfea2.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
ebfea2.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
ebfea2.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
ed8a15.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
ed8a15.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
ed8a15.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
ed8a15.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
ed8a15.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
ed8a15.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
fb7e53.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
fb7e53.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
fb7e53.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
fb7e53.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
fb7e53.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
fb7e53.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00