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

39 lines
990 B
Plaintext
Raw Normal View History

SKIP: FAILED
Validation Failure:
#include <metal_stdlib>
using namespace metal;
void textureDimensions_0e32ee() {
int3 res = int3(arg_0.get_width(), arg_0.get_height(), arg_0.get_depth());
}
vertex void vertex_main() {
textureDimensions_0e32ee();
return;
}
fragment void fragment_main() {
textureDimensions_0e32ee();
return;
}
kernel void compute_main() {
textureDimensions_0e32ee();
return;
}
tint_xjHPQ6.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_xjHPQ6.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_xjHPQ6.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.