dawn-cmake/test/intrinsics/gen/modf
James Price 5c61d6d12c msl: Fold &* when converting module-scope vars
This transform was previously converting this code:
```
var<private> v : f32;
fn foo() {
  bar(&v);
}
```

into this:
```
fn foo(vp : ptr<private, f32>) {
  bar(&*vp); // Invalid, since ptr args must be &ident
}
```

Fixed: tint:1086
Change-Id: Ic9efafa219c89a11a4d6e1d11fc69b3c0b9a5464
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60520
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-08-04 19:18:38 +00:00
..
1d59e5.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
1d59e5.wgsl.expected.hlsl transform: Optimize ZeroInitWorkgroupMemory for arrays 2021-07-30 14:08:06 +00:00
1d59e5.wgsl.expected.msl msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
1d59e5.wgsl.expected.spvasm transform: Optimize ZeroInitWorkgroupMemory for arrays 2021-07-30 14:08:06 +00:00
1d59e5.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
3b79d5.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
3b79d5.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
3b79d5.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
3b79d5.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
3b79d5.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
3d00e2.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
3d00e2.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
3d00e2.wgsl.expected.msl msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
3d00e2.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
3d00e2.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
4bb324.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
4bb324.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
4bb324.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
4bb324.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
4bb324.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
4fe3d9.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
4fe3d9.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
4fe3d9.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
4fe3d9.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
4fe3d9.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
5e8476.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
5e8476.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
5e8476.wgsl.expected.msl msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
5e8476.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
5e8476.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
9b44a9.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
9b44a9.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
9b44a9.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
9b44a9.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
9b44a9.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
9c6a91.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
9c6a91.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
9c6a91.wgsl.expected.msl msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
9c6a91.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
9c6a91.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
9cecfc.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
9cecfc.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
9cecfc.wgsl.expected.msl msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
9cecfc.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
9cecfc.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
51e4c6.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
51e4c6.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
51e4c6.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
51e4c6.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
51e4c6.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
353f7d.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
353f7d.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
353f7d.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
353f7d.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
353f7d.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
546e09.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
546e09.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
546e09.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
546e09.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
546e09.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
684d46.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
684d46.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
684d46.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
684d46.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
684d46.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
2199f1.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
2199f1.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
2199f1.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
2199f1.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
2199f1.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
86441c.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
86441c.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
86441c.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
86441c.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
86441c.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
955651.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
955651.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
955651.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
955651.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
955651.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
a54eca.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
a54eca.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
a54eca.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
a54eca.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
a54eca.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
a128ab.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
a128ab.wgsl.expected.hlsl transform: Optimize ZeroInitWorkgroupMemory for arrays 2021-07-30 14:08:06 +00:00
a128ab.wgsl.expected.msl msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
a128ab.wgsl.expected.spvasm transform: Optimize ZeroInitWorkgroupMemory for arrays 2021-07-30 14:08:06 +00:00
a128ab.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
bb9088.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
bb9088.wgsl.expected.hlsl transform: Optimize ZeroInitWorkgroupMemory for arrays 2021-07-30 14:08:06 +00:00
bb9088.wgsl.expected.msl msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
bb9088.wgsl.expected.spvasm transform: Optimize ZeroInitWorkgroupMemory for arrays 2021-07-30 14:08:06 +00:00
bb9088.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
c87851.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
c87851.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
c87851.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
c87851.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
c87851.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
d1d6f6.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
d1d6f6.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
d1d6f6.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
d1d6f6.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
d1d6f6.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
e38ae6.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
e38ae6.wgsl.expected.hlsl transform: Optimize ZeroInitWorkgroupMemory for arrays 2021-07-30 14:08:06 +00:00
e38ae6.wgsl.expected.msl msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
e38ae6.wgsl.expected.spvasm transform: Optimize ZeroInitWorkgroupMemory for arrays 2021-07-30 14:08:06 +00:00
e38ae6.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
e83560.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
e83560.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
e83560.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
e83560.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
e83560.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
f90945.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
f90945.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
f90945.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
f90945.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
f90945.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00