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>
This commit is contained in:
parent
cf13f8af64
commit
18d6b75ba8
55 changed files with 66 additions and 66 deletions
|
|
@ -11,7 +11,7 @@ triangles = "#define MODE_TRIANGLES";
|
|||
|
||||
#include "lm_common_inc.glsl"
|
||||
|
||||
layout(push_constant, binding = 0, std430) uniform Params {
|
||||
layout(push_constant, std430) uniform Params {
|
||||
uint base_index;
|
||||
uint slice;
|
||||
vec2 uv_offset;
|
||||
|
|
@ -78,7 +78,7 @@ void main() {
|
|||
|
||||
#include "lm_common_inc.glsl"
|
||||
|
||||
layout(push_constant, binding = 0, std430) uniform Params {
|
||||
layout(push_constant, std430) uniform Params {
|
||||
uint base_index;
|
||||
uint slice;
|
||||
vec2 uv_offset;
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ layout(rgba16f, set = 1, binding = 0) uniform restrict writeonly image2DArray de
|
|||
layout(set = 1, binding = 1) uniform texture2DArray source_light;
|
||||
#endif
|
||||
|
||||
layout(push_constant, binding = 0, std430) uniform Params {
|
||||
layout(push_constant, std430) uniform Params {
|
||||
ivec2 atlas_size; // x used for light probe mode total probes
|
||||
uint ray_count;
|
||||
uint ray_to;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ layout(location = 4) flat out uvec3 vertex_indices;
|
|||
layout(location = 5) flat out vec3 face_normal;
|
||||
layout(location = 6) flat out uint fragment_action;
|
||||
|
||||
layout(push_constant, binding = 0, std430) uniform Params {
|
||||
layout(push_constant, std430) uniform Params {
|
||||
vec2 atlas_size;
|
||||
vec2 uv_offset;
|
||||
vec3 to_cell_size;
|
||||
|
|
@ -69,7 +69,7 @@ void main() {
|
|||
|
||||
#include "lm_common_inc.glsl"
|
||||
|
||||
layout(push_constant, binding = 0, std430) uniform Params {
|
||||
layout(push_constant, std430) uniform Params {
|
||||
vec2 atlas_size;
|
||||
vec2 uv_offset;
|
||||
vec3 to_cell_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue