dawn-cmake/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.msl

36 lines
736 B
Plaintext
Raw Normal View History

SKIP: FAILED
Validation Failure:
#include <metal_stdlib>
using namespace metal;
void textureDimensions_f7145b() {
int2 res = int2(arg_0.get_width(1), arg_0.get_height(1));
}
vertex void vertex_main() {
textureDimensions_f7145b();
return;
}
fragment void fragment_main() {
textureDimensions_f7145b();
return;
}
kernel void compute_main() {
textureDimensions_f7145b();
return;
}
tint_zCqbpt.metal:5:19: error: use of undeclared identifier 'arg_0'
int2 res = int2(arg_0.get_width(1), arg_0.get_height(1));
^
tint_zCqbpt.metal:5:39: error: use of undeclared identifier 'arg_0'
int2 res = int2(arg_0.get_width(1), arg_0.get_height(1));
^
2 errors generated.