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

27 lines
425 B
HLSL
Raw Normal View History

ByteAddressBuffer sb : register(t0, space0);
void arrayLength_b083be() {
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_b083be();
return;
}
void fragment_main() {
arrayLength_b083be();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
arrayLength_b083be();
return;
}