Fix some explicit bindings that should be binding, not location

This commit is contained in:
Brad Davis 2018-07-30 16:07:00 -07:00 committed by Bradley Austin Davis
parent 6ed7512112
commit a1cd39f4c2
4 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@ struct TextureData {
ivec2 textureSize;
};
layout(std140, location=0) uniform textureDataBuffer {
layout(std140, binding=0) uniform textureDataBuffer {
TextureData textureData;
};

View file

@ -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;
};

View file

@ -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;
};

View file

@ -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;
};