| SKIP: FAILED |
| |
| |
| |
| Validation Failure: |
| #include <metal_stdlib> |
| |
| using namespace metal; |
| void textureSampleGrad_e383db() { |
| float4 res = arg_0.sample(arg_1, float3(), 1, gradientcube(float3(), float3())); |
| } |
| |
| vertex void vertex_main() { |
| textureSampleGrad_e383db(); |
| return; |
| } |
| |
| fragment void fragment_main() { |
| textureSampleGrad_e383db(); |
| return; |
| } |
| |
| kernel void compute_main() { |
| textureSampleGrad_e383db(); |
| return; |
| } |
| |
| |
| tint_2um7ce.metal:5:16: error: use of undeclared identifier 'arg_0' |
| float4 res = arg_0.sample(arg_1, float3(), 1, gradientcube(float3(), float3())); |
| ^ |
| tint_2um7ce.metal:5:29: error: use of undeclared identifier 'arg_1' |
| float4 res = arg_0.sample(arg_1, float3(), 1, gradientcube(float3(), float3())); |
| ^ |
| 2 errors generated. |