dawn-cmake/test/tint/builtins
Ben Clayton 4d3ff9711e tint: Resolve @builtin() args as expressions
This CL makes the builtin argument resolve as a shadowable enumerator
expression.

Bug: tint:1841
Bug: tint:1845
Change-Id: I2aaa2c63025752f25c113cf2fb38f4d91c2c16c2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/120680
Kokoro: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
2023-02-21 17:33:54 +00:00
..
arrayLength GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
atomicStore tint: Resolve @builtin() args as expressions 2023-02-21 17:33:54 +00:00
atomics/from_gen tint: Resolve @builtin() args as expressions 2023-02-21 17:33:54 +00:00
extractBits Tint: Fix extractBits polyfill 2022-11-30 23:55:28 +00:00
frexp tint/transform: fix PromoteInitializersToLet for constant expressions 2022-12-09 12:34:36 +00:00
gen tint: Add bgra8unorm storage texture support 2023-01-18 19:42:03 +00:00
insertBits Tint/transform: Fix insertBits polyfill for HLSL 2022-11-09 01:54:08 +00:00
modf tint/transform: fix PromoteInitializersToLet for constant expressions 2022-12-09 12:34:36 +00:00
textureDimensions tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
textureGather tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
textureLoad Fixup return of HLSL sign to match WGSL. 2023-01-11 13:18:29 +00:00
textureNumSamples tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
textureStore tint: Add bgra8unorm storage texture support 2023-01-18 19:42:03 +00:00
workgroupUniformLoad tint: Rename 'type' to 'alias' 2023-01-24 14:55:17 +00:00
degrees.spvasm
degrees.spvasm.expected.dxc.hlsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
degrees.spvasm.expected.fxc.hlsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
degrees.spvasm.expected.glsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
degrees.spvasm.expected.msl
degrees.spvasm.expected.spvasm
degrees.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
frexp.wgsl tint: Rename `frexp().sig` to `frexp().fract` 2022-11-14 15:29:29 +00:00
frexp.wgsl.expected.dxc.hlsl tint: Suffix builtin return types with '_f32' 2022-11-23 19:57:00 +00:00
frexp.wgsl.expected.fxc.hlsl tint: Suffix builtin return types with '_f32' 2022-11-23 19:57:00 +00:00
frexp.wgsl.expected.glsl tint: Suffix builtin return types with '_f32' 2022-11-23 19:57:00 +00:00
frexp.wgsl.expected.msl tint: Suffix builtin return types with '_f32' 2022-11-23 19:57:00 +00:00
frexp.wgsl.expected.spvasm tint: Suffix builtin return types with '_f32' 2022-11-23 19:57:00 +00:00
frexp.wgsl.expected.wgsl tint: Rename `frexp().sig` to `frexp().fract` 2022-11-14 15:29:29 +00:00
radians.spvasm
radians.spvasm.expected.dxc.hlsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
radians.spvasm.expected.fxc.hlsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
radians.spvasm.expected.glsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
radians.spvasm.expected.msl
radians.spvasm.expected.spvasm
radians.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
repeated_use.wgsl Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
repeated_use.wgsl.expected.dxc.hlsl Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
repeated_use.wgsl.expected.fxc.hlsl Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
repeated_use.wgsl.expected.glsl Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
repeated_use.wgsl.expected.msl Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
repeated_use.wgsl.expected.spvasm Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
repeated_use.wgsl.expected.wgsl Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00