Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 1 | #include <metal_stdlib> |
2 | |||||
3 | using namespace metal; | ||||
4 | void dpdx_0763f7() { | ||||
Ben Clayton | f24b37e | 2021-06-28 15:30:57 +0000 | [diff] [blame] | 5 | float3 res = dfdx(float3()); |
Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 6 | } |
7 | |||||
8 | fragment void fragment_main() { | ||||
9 | dpdx_0763f7(); | ||||
10 | return; | ||||
11 | } | ||||
12 |