dawn-cmake/test/intrinsics/gen/arrayLength/721c9d.wgsl.expected.hlsl

27 lines
425 B
HLSL

ByteAddressBuffer sb : register(t0, space0);
void arrayLength_721c9d() {
uint tint_symbol_1 = 0u;
sb.GetDimensions(tint_symbol_1);
const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
uint res = tint_symbol_2;
}
void vertex_main() {
arrayLength_721c9d();
return;
}
void fragment_main() {
arrayLength_721c9d();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
arrayLength_721c9d();
return;
}