Corrected input attachment indices (Refs #295) [skip ci]

This commit is contained in:
saschawillems 2017-03-25 12:58:52 +01:00
parent 70ae00042f
commit 28a9f1ca37
4 changed files with 4 additions and 4 deletions

View file

@ -3,9 +3,9 @@
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
layout (input_attachment_index = 1, binding = 0) uniform subpassInput samplerposition;
layout (input_attachment_index = 2, binding = 1) uniform subpassInput samplerNormal;
layout (input_attachment_index = 3, binding = 2) uniform subpassInput samplerAlbedo;
layout (input_attachment_index = 0, binding = 0) uniform subpassInput samplerposition;
layout (input_attachment_index = 1, binding = 1) uniform subpassInput samplerNormal;
layout (input_attachment_index = 2, binding = 2) uniform subpassInput samplerAlbedo;
layout (location = 0) in vec2 inUV;

View file

@ -3,7 +3,7 @@
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
layout (input_attachment_index = 1, binding = 1) uniform subpassInput samplerPositionDepth;
layout (input_attachment_index = 0, binding = 1) uniform subpassInput samplerPositionDepth;
layout (binding = 2) uniform sampler2D samplerTexture;
layout (location = 0) in vec3 inColor;