summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shaders/cube_to_dp.glsl
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-02-11 18:40:24 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-02-11 18:42:32 +0100
commit18d6b75ba82a7e5d9889224a04fb7686b275f545 (patch)
tree12c8b387c81d384476fb3a8ecb39c1a47558f3f2 /servers/rendering/renderer_rd/shaders/cube_to_dp.glsl
parentcf13f8af648c075282e596744e48d60c25fae283 (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/cube_to_dp.glsl')
-rw-r--r--servers/rendering/renderer_rd/shaders/cube_to_dp.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/renderer_rd/shaders/cube_to_dp.glsl b/servers/rendering/renderer_rd/shaders/cube_to_dp.glsl
index 69b895ed29..e77d0de719 100644
--- a/servers/rendering/renderer_rd/shaders/cube_to_dp.glsl
+++ b/servers/rendering/renderer_rd/shaders/cube_to_dp.glsl
@@ -4,7 +4,7 @@
#VERSION_DEFINES
-layout(push_constant, binding = 1, std430) uniform Params {
+layout(push_constant, std430) uniform Params {
float z_far;
float z_near;
vec2 texel_size;
@@ -31,7 +31,7 @@ layout(location = 0) in vec2 uv_interp;
layout(set = 0, binding = 0) uniform samplerCube source_cube;
-layout(push_constant, binding = 1, std430) uniform Params {
+layout(push_constant, std430) uniform Params {
float z_far;
float z_near;
vec2 texel_size;