wgpu/naga/tests/out/hlsl/wgsl-phony_assignment.hlsl
2025-04-03 15:08:23 +00:00

18 lines
307 B
HLSL

cbuffer binding : register(b0) { float binding; }
int five()
{
return int(5);
}
[numthreads(1, 1, 1)]
void main(uint3 id : SV_DispatchThreadID)
{
float phony = binding;
float phony_1 = binding;
const int _e6 = five();
const int _e7 = five();
float phony_2 = binding;
return;
}