Update the descriptor set index in colorGrading.

This commit is contained in:
Philip Rideout
2020-07-09 11:23:48 -07:00
parent b224916f09
commit 41f7ea436d

View File

@@ -41,7 +41,8 @@ vertex {
fragment {
// TODO: this should be specified as a parameter
layout (input_attachment_index = 0, set = 0, binding = 0) uniform mediump subpassInput colorBuffer;
// In our Vulkan backend, subpass inputs always live in descriptor set 2. (ignored for GLES)
layout (input_attachment_index = 0, set = 2, binding = 0) uniform mediump subpassInput colorBuffer;
layout(location = 1) out vec4 tonemappedOutput;
#include "../../../shaders/src/dithering.fs"