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