dawn-cmake/test/intrinsics/gen/textureSampleLevel/a4af26.wgsl.expected.msl

36 lines
757 B
Plaintext
Raw Normal View History

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