dawn-cmake/test/tint/bug/tint/1677.wgsl.expected.fxc.hlsl

16 lines
299 B
HLSL

ByteAddressBuffer input : register(t0, space0);
struct tint_symbol_1 {
uint3 id : SV_DispatchThreadID;
};
void main_inner(uint3 id) {
const int3 pos = (asint(input.Load3(0u)) - (0).xxx);
}
[numthreads(1, 1, 1)]
void main(tint_symbol_1 tint_symbol) {
main_inner(tint_symbol.id);
return;
}