dawn-cmake/test/intrinsics/gen/textureSampleGrad/2ecd8f.wgsl.expected.msl

36 lines
786 B
Plaintext
Raw Normal View History

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