update stock with push constants; makes it easier to work from

This commit is contained in:
hunterk 2016-08-19 15:28:03 -05:00
parent 98c2a8229f
commit 0eefdb7bc5

View file

@ -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