dawn-cmake/test/expressions/bitcast/scalar
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
..
f32-f32.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
f32-f32.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
f32-f32.wgsl.expected.hlsl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
f32-f32.wgsl.expected.msl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
f32-f32.wgsl.expected.spvasm writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
f32-f32.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
f32-i32.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
f32-i32.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
f32-i32.wgsl.expected.hlsl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
f32-i32.wgsl.expected.msl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
f32-i32.wgsl.expected.spvasm writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
f32-i32.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
f32-u32.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
f32-u32.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
f32-u32.wgsl.expected.hlsl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
f32-u32.wgsl.expected.msl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
f32-u32.wgsl.expected.spvasm writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
f32-u32.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
i32-f32.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
i32-f32.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
i32-f32.wgsl.expected.hlsl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
i32-f32.wgsl.expected.msl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
i32-f32.wgsl.expected.spvasm writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
i32-f32.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
i32-i32.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
i32-i32.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
i32-i32.wgsl.expected.hlsl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
i32-i32.wgsl.expected.msl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
i32-i32.wgsl.expected.spvasm writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
i32-i32.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
i32-u32.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
i32-u32.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
i32-u32.wgsl.expected.hlsl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
i32-u32.wgsl.expected.msl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
i32-u32.wgsl.expected.spvasm writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
i32-u32.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
i32min-u32.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
i32min-u32.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
i32min-u32.wgsl.expected.hlsl MSL: fix i32 INT_MIN literal emitted as `long` instead of `int` 2021-07-30 18:56:26 +00:00
i32min-u32.wgsl.expected.msl MSL: fix i32 INT_MIN literal emitted as `long` instead of `int` 2021-07-30 18:56:26 +00:00
i32min-u32.wgsl.expected.spvasm MSL: fix i32 INT_MIN literal emitted as `long` instead of `int` 2021-07-30 18:56:26 +00:00
i32min-u32.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
u32-f32.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
u32-f32.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
u32-f32.wgsl.expected.hlsl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
u32-f32.wgsl.expected.msl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
u32-f32.wgsl.expected.spvasm writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
u32-f32.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
u32-i32.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
u32-i32.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
u32-i32.wgsl.expected.hlsl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
u32-i32.wgsl.expected.msl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
u32-i32.wgsl.expected.spvasm writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
u32-i32.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
u32-u32.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
u32-u32.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
u32-u32.wgsl.expected.hlsl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
u32-u32.wgsl.expected.msl writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
u32-u32.wgsl.expected.spvasm writer/hlsl: Support bitcast of vectors 2021-07-26 15:08:28 +00:00
u32-u32.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00