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