dawn-cmake/test/intrinsics/gen
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
..
abs validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
acos validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
all validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
any validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
arrayLength Make ArrayLengthFromUniform transform emit a valid UBO 2021-07-14 17:28:01 +00:00
asin validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
atan validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
atan2 validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
atomicAdd msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
atomicAnd msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
atomicCompareExchangeWeak msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
atomicExchange msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
atomicLoad msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
atomicMax msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
atomicMin msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
atomicOr msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
atomicStore msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
atomicXor msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
ceil validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
clamp validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
cos validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
cosh validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
countOneBits validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
cross validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
determinant validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
distance writer/msl: Emulate scalar length and distance 2021-07-20 16:35:00 +00:00
dot validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
dpdx writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
dpdxCoarse writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
dpdxFine writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
dpdy writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
dpdyCoarse writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
dpdyFine writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
exp validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
exp2 validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
faceForward [intrinsics] rm f32 overloads of reflect, faceForward 2021-07-08 15:08:53 +00:00
floor validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
fma validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
fract validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
frexp msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
fwidth writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
fwidthCoarse writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
fwidthFine writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
ignore Implement texture_depth_multisampled_2d 2021-07-26 22:19:48 +00:00
inverseSqrt validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
isFinite validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
isInf validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
isNan validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
isNormal writer/hlsl: Emit more helpers for intrinsic calls 2021-07-15 20:34:21 +00:00
ldexp intrinsics: Fix signature of ldexp() 2021-07-28 21:19:26 +00:00
length writer/msl: Emulate scalar length and distance 2021-07-20 16:35:00 +00:00
log validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
log2 validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
max validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
min validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
mix intrinsics: Add `mix(vec, vec, f32)` overload 2021-07-23 16:43:01 +00:00
modf msl: Fold &* when converting module-scope vars 2021-08-04 19:18:38 +00:00
normalize validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
pack2x16float writer/hlsl: Emit more helpers for intrinsic calls 2021-07-15 20:34:21 +00:00
pack2x16snorm writer/hlsl: Emit more helpers for intrinsic calls 2021-07-15 20:34:21 +00:00
pack2x16unorm writer/hlsl: Emit more helpers for intrinsic calls 2021-07-15 20:34:21 +00:00
pack4x8snorm writer/hlsl: Emit more helpers for intrinsic calls 2021-07-15 20:34:21 +00:00
pack4x8unorm writer/hlsl: Emit more helpers for intrinsic calls 2021-07-15 20:34:21 +00:00
pow validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
reflect [intrinsics] rm f32 overloads of reflect, faceForward 2021-07-08 15:08:53 +00:00
refract Add refract intrinsic 2021-07-05 16:47:37 +00:00
reverseBits validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
round validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
select validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
sign validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
sin validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
sinh validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
smoothStep validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
sqrt validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
step validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
storageBarrier validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
tan validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
tanh validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
textureDimensions Implement texture_depth_multisampled_2d 2021-07-26 22:19:48 +00:00
textureLoad Implement texture_depth_multisampled_2d 2021-07-26 22:19:48 +00:00
textureNumLayers validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
textureNumLevels [intrinsics]: Add texture_1d level overloads 2021-07-15 16:14:34 +00:00
textureNumSamples Implement texture_depth_multisampled_2d 2021-07-26 22:19:48 +00:00
textureSample Remove texture_external overload for textureSample 2021-07-08 20:58:18 +00:00
textureSampleBias test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
textureSampleCompare test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
textureSampleCompareLevel validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
textureSampleGrad validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
textureSampleLevel writer/wgsl: Fix texture_external type emission 2021-07-26 22:02:28 +00:00
textureStore validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
transpose validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
trunc validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
unpack2x16float writer/hlsl: Emit more helpers for intrinsic calls 2021-07-15 20:34:21 +00:00
unpack2x16snorm writer/hlsl: Emit more helpers for intrinsic calls 2021-07-15 20:34:21 +00:00
unpack2x16unorm writer/hlsl: Emit more helpers for intrinsic calls 2021-07-15 20:34:21 +00:00
unpack4x8snorm writer/hlsl: Emit more helpers for intrinsic calls 2021-07-15 20:34:21 +00:00
unpack4x8unorm writer/hlsl: Emit more helpers for intrinsic calls 2021-07-15 20:34:21 +00:00
workgroupBarrier validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00