dawn-cmake/test/intrinsics/gen/modf
Ben Clayton 03c8393213 [writer/msl]: Implement modf and frexp
And remove the u32 overload of frexp (it's not in the spec).

Brings the number of failing tint end to end tests for MSL down to 19/1098.

The WG still haven't found consensus on reworking these two intrinsics.
It's very likely that their signature will change so that they return a structure instead of returning a value and outputing another as a pointer.

Until the WG makes a decision, let's implement these according to the current spec.
Some overloads are still failing due to MSL missing overloads of the pointer parameter being in the `threadgroup` address space.

I'm holding off fixing these until we know what's happening with these intrinsics.

See also:
https://github.com/gpuweb/gpuweb/issues/1480
https://github.com/gpuweb/gpuweb/issues/1846

Change-Id: Ib6764e6659d840db41bc65fed2b8b283d1056c3d
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57421
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
2021-07-08 21:21:27 +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 sanitizers: Use the ZeroInitWorkgroupMemory transform 2021-06-18 22:44:31 +00:00
1d59e5.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
1d59e5.wgsl.expected.spvasm sanitizers: Use the ZeroInitWorkgroupMemory transform 2021-06-18 22:44:31 +00:00
1d59e5.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
3b79d5.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
3b79d5.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
3b79d5.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Emit zero values for private variables 2021-06-21 19:37:58 +00:00
3d00e2.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
3d00e2.wgsl.expected.spvasm test: Generate more permutations for pointers 2021-06-18 18:56:13 +00:00
3d00e2.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
4bb324.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
4bb324.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
4bb324.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
4fe3d9.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
4fe3d9.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
4fe3d9.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Emit zero values for private variables 2021-06-21 19:37:58 +00:00
5e8476.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
5e8476.wgsl.expected.spvasm test: Generate more permutations for pointers 2021-06-18 18:56:13 +00:00
5e8476.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Emit zero values for private variables 2021-06-21 19:37:58 +00:00
9c6a91.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
9c6a91.wgsl.expected.spvasm test: Generate more permutations for pointers 2021-06-18 18:56:13 +00:00
9c6a91.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Emit zero values for private variables 2021-06-21 19:37:58 +00:00
9cecfc.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
9cecfc.wgsl.expected.spvasm test: Generate more permutations for pointers 2021-06-18 18:56:13 +00:00
9cecfc.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
51e4c6.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
51e4c6.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
51e4c6.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
353f7d.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
353f7d.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
353f7d.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
546e09.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
546e09.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
546e09.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
86441c.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
86441c.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
86441c.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
955651.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
955651.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
955651.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
a54eca.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
a54eca.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
a54eca.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 sanitizers: Use the ZeroInitWorkgroupMemory transform 2021-06-18 22:44:31 +00:00
a128ab.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
a128ab.wgsl.expected.spvasm sanitizers: Use the ZeroInitWorkgroupMemory transform 2021-06-18 22:44:31 +00:00
a128ab.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 sanitizers: Use the ZeroInitWorkgroupMemory transform 2021-06-18 22:44:31 +00:00
bb9088.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
bb9088.wgsl.expected.spvasm sanitizers: Use the ZeroInitWorkgroupMemory transform 2021-06-18 22:44:31 +00:00
bb9088.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
d1d6f6.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
d1d6f6.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
d1d6f6.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 sanitizers: Use the ZeroInitWorkgroupMemory transform 2021-06-18 22:44:31 +00:00
e38ae6.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
e38ae6.wgsl.expected.spvasm sanitizers: Use the ZeroInitWorkgroupMemory transform 2021-06-18 22:44:31 +00:00
e38ae6.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
e83560.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
e83560.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
e83560.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +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 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
f90945.wgsl.expected.msl [writer/msl]: Implement modf and frexp 2021-07-08 21:21:27 +00:00
f90945.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
f90945.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00