diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-02-11 18:40:24 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-02-11 18:42:32 +0100 |
commit | 18d6b75ba82a7e5d9889224a04fb7686b275f545 (patch) | |
tree | 12c8b387c81d384476fb3a8ecb39c1a47558f3f2 /servers/rendering/renderer_rd/shaders/canvas_occlusion.glsl | |
parent | cf13f8af648c075282e596744e48d60c25fae283 (diff) |
RendererRD: Remove binding specifier for push constants
This is unsupported and glslang made it raise an error in 11.7.0:
https://github.com/KhronosGroup/glslang/pull/2810
Co-authored-by: Clay John <claynjohn@gmail.com>
Diffstat (limited to 'servers/rendering/renderer_rd/shaders/canvas_occlusion.glsl')
-rw-r--r-- | servers/rendering/renderer_rd/shaders/canvas_occlusion.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/renderer_rd/shaders/canvas_occlusion.glsl b/servers/rendering/renderer_rd/shaders/canvas_occlusion.glsl index 9f89f4b3b7..930cf792cb 100644 --- a/servers/rendering/renderer_rd/shaders/canvas_occlusion.glsl +++ b/servers/rendering/renderer_rd/shaders/canvas_occlusion.glsl @@ -6,7 +6,7 @@ layout(location = 0) in highp vec3 vertex; -layout(push_constant, binding = 0, std430) uniform Constants { +layout(push_constant, std430) uniform Constants { mat4 projection; mat2x4 modelview; vec2 direction; @@ -34,7 +34,7 @@ void main() { #VERSION_DEFINES -layout(push_constant, binding = 0, std430) uniform Constants { +layout(push_constant, std430) uniform Constants { mat4 projection; mat2x4 modelview; vec2 direction; |