diff --git a/stock.slang b/stock.slang index 3814272..bf3cf6b 100644 --- a/stock.slang +++ b/stock.slang @@ -1,11 +1,16 @@ #version 450 +layout(push_constant) uniform Push +{ + vec4 SourceSize; + vec4 OriginalSize; + vec4 OutputSize; + uint FrameCount; +} params; + layout(std140, set = 0, binding = 0) uniform UBO { - mat4 MVP; - vec4 OutputSize; - vec4 OriginalSize; - vec4 SourceSize; + mat4 MVP; } global; #pragma stage vertex