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

39 lines
990 B
Plaintext
Raw Normal View History

SKIP: FAILED
Validation Failure:
#include <metal_stdlib>
using namespace metal;
void textureDimensions_1e189c() {
int3 res = int3(arg_0.get_width(), arg_0.get_height(), arg_0.get_depth());
}
vertex void vertex_main() {
textureDimensions_1e189c();
return;
}
fragment void fragment_main() {
textureDimensions_1e189c();
return;
}
kernel void compute_main() {
textureDimensions_1e189c();
return;
}
tint_gyn8lu.metal:5:19: error: use of undeclared identifier 'arg_0'
int3 res = int3(arg_0.get_width(), arg_0.get_height(), arg_0.get_depth());
^
tint_gyn8lu.metal:5:38: error: use of undeclared identifier 'arg_0'
int3 res = int3(arg_0.get_width(), arg_0.get_height(), arg_0.get_depth());
^
tint_gyn8lu.metal:5:58: error: use of undeclared identifier 'arg_0'
int3 res = int3(arg_0.get_width(), arg_0.get_height(), arg_0.get_depth());
^
3 errors generated.