From a8446cb87eca421c37d0a8f0fca5f7ba918703a8 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 16 Feb 2025 11:01:54 +0900 Subject: [PATCH] [qfcc] Implement input_attachment_index Slowly getting there with getting Vulkan to accept my shaders. --- tools/qfcc/source/glsl-layout.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/qfcc/source/glsl-layout.c b/tools/qfcc/source/glsl-layout.c index 699e08a88..a554b5e11 100644 --- a/tools/qfcc/source/glsl-layout.c +++ b/tools/qfcc/source/glsl-layout.c @@ -248,6 +248,8 @@ static void glsl_layout_input_attachment_index (const glsl_qual_t *qual, specifier_t spec, const expr_t *qual_name, const expr_t *val) { + const char *name = "InputAttachmentIndex"; + set_attribute (&spec.sym->attributes, name, val); } static void