36 lines
743 B
Plaintext
36 lines
743 B
Plaintext
|
SKIP: FAILED
|
||
|
|
||
|
|
||
|
|
||
|
Validation Failure:
|
||
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
void textureSampleLevel_ba93b3() {
|
||
|
float res = arg_0.sample(arg_1, float2(), 1, level(1), int2());
|
||
|
}
|
||
|
|
||
|
vertex void vertex_main() {
|
||
|
textureSampleLevel_ba93b3();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
fragment void fragment_main() {
|
||
|
textureSampleLevel_ba93b3();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
kernel void compute_main() {
|
||
|
textureSampleLevel_ba93b3();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
|
||
|
tint_HAD0Zn.metal:5:15: error: use of undeclared identifier 'arg_0'
|
||
|
float res = arg_0.sample(arg_1, float2(), 1, level(1), int2());
|
||
|
^
|
||
|
tint_HAD0Zn.metal:5:28: error: use of undeclared identifier 'arg_1'
|
||
|
float res = arg_0.sample(arg_1, float2(), 1, level(1), int2());
|
||
|
^
|
||
|
2 errors generated.
|