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