diff options
Diffstat (limited to 'tests/wgsl')
| -rw-r--r-- | tests/wgsl/switch-case.slang | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/wgsl/switch-case.slang b/tests/wgsl/switch-case.slang index c4ff0996e..fc24bd67a 100644 --- a/tests/wgsl/switch-case.slang +++ b/tests/wgsl/switch-case.slang @@ -70,17 +70,14 @@ func fs_main(VertexOutput input)->FragmentOutput return output; } -//WGSL: fn _S9( _S10 : Tuple_0) -> f32 -//WGSL-NEXT: { -//WGSL-NEXT: switch(_S10.value1_0.x) +//WGSL: switch({{.*}}) //WGSL-NEXT: { //WGSL-NEXT: case u32(0): //WGSL-NEXT: { -//WGSL-NEXT: return Circle_getArea_0(unpackAnyValue16_0(_S10.value2_0)); +//WGSL-NEXT: return Circle_getArea_0 //WGSL-NEXT: } //WGSL-NEXT: default : //WGSL-NEXT: { -//WGSL-NEXT: return Rectangle_getArea_0(unpackAnyValue16_1(_S10.value2_0)); +//WGSL-NEXT: return Rectangle_getArea_0 //WGSL-NEXT: } //WGSL-NEXT: } -//WGSL-NEXT: } |
