Removing some unnecessary std430's from push constant blocks
This commit is contained in:
parent
fb5558b076
commit
6926980f70
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue