Archived
1
Fork 0

Removing some unnecessary std430's from push constant blocks

This commit is contained in:
Joshua Goins 2022-02-20 22:51:23 -05:00
parent fb5558b076
commit 6926980f70
4 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ layout(location = 2) in vec4 in_color;
layout(location = 0) out vec4 out_color; layout(location = 0) out vec4 out_color;
layout(location = 1) out vec2 out_uv; layout(location = 1) out vec2 out_uv;
layout(std430, push_constant) uniform PushConstant { layout(push_constant) uniform PushConstant {
mat4 projection; mat4 projection;
}; };

View file

@ -5,7 +5,7 @@
#define SMAA_INCLUDE_VS 0 #define SMAA_INCLUDE_VS 0
#define SMAA_INCLUDE_PS 1 #define SMAA_INCLUDE_PS 1
layout(std430, push_constant) uniform PushConstant { layout(push_constant) uniform PushConstant {
vec4 viewport; vec4 viewport;
vec4 options; vec4 options;
vec4 transform_ops; vec4 transform_ops;

View file

@ -5,7 +5,7 @@
#define SMAA_INCLUDE_VS 1 #define SMAA_INCLUDE_VS 1
#define SMAA_INCLUDE_PS 0 #define SMAA_INCLUDE_PS 0
layout(std430, push_constant) uniform readonlPushConstant { layout(push_constant) uniform readonlPushConstant {
vec4 viewport; vec4 viewport;
float fade; float fade;
vec4 transform_ops; vec4 transform_ops;

View file

@ -4,7 +4,7 @@
#define SMAA_GLSL_4 1 #define SMAA_GLSL_4 1
#define SMAA_PREDICATION 1 #define SMAA_PREDICATION 1
layout(std430, push_constant) uniform PushConstant { layout(push_constant) uniform PushConstant {
vec4 viewport; vec4 viewport;
mat4 correctionMatrix; mat4 correctionMatrix;
}; };