mirror of
https://github.com/overte-org/overte.git
synced 2025-04-06 16:32:42 +02:00
Fix some explicit bindings that should be binding, not location
This commit is contained in:
parent
6ed7512112
commit
a1cd39f4c2
4 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ struct TextureData {
|
|||
ivec2 textureSize;
|
||||
};
|
||||
|
||||
layout(std140, location=0) uniform textureDataBuffer {
|
||||
layout(std140, binding=0) uniform textureDataBuffer {
|
||||
TextureData textureData;
|
||||
};
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ layout(binding=0) uniform sampler2D blurMap0;
|
|||
layout(binding=1) uniform sampler2D blurMap1;
|
||||
layout(binding=2) uniform sampler2D blurMap2;
|
||||
|
||||
layout(std140, location=0) uniform parametersBuffer {
|
||||
layout(std140, binding=RENDER_UTILS_BUFFER_BLOOM_PARAMS) uniform parametersBuffer {
|
||||
Parameters parameters;
|
||||
};
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<@include render-utils/ShaderConstants.h@>
|
||||
|
||||
layout(binding=RENDER_UTILS_TEXTURE_BLOOM_COLOR) uniform sampler2D colorMap;
|
||||
layout(std140, location=RENDER_UTILS_BUFFER_BLOOM_PARAMS) uniform parametersBuffer {
|
||||
layout(std140, binding=RENDER_UTILS_BUFFER_BLOOM_PARAMS) uniform parametersBuffer {
|
||||
Parameters parameters;
|
||||
};
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ struct DrawMesh {
|
|||
vec4 verts[NUM_SEGMENT_PER_VIEW_REGION];
|
||||
};
|
||||
|
||||
layout(std140, location=0) uniform DrawMeshBuffer {
|
||||
layout(std140, binding=0) uniform DrawMeshBuffer {
|
||||
DrawMesh _drawMeshBuffer;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue