mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
18 lines
307 B
HLSL
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;
|
|
}
|