summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compiler/glsl/ast_to_hir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp
index 1ddb2bf43db..b818de6fe1c 100644
--- a/src/compiler/glsl/ast_to_hir.cpp
+++ b/src/compiler/glsl/ast_to_hir.cpp
@@ -6656,7 +6656,7 @@ ast_process_struct_or_iface_block_members(exec_list *instructions,
xfb_buffer = (int) qual_xfb_buffer;
} else {
if (layout)
- explicit_xfb_buffer = layout->flags.q.xfb_buffer;
+ explicit_xfb_buffer = layout->flags.q.explicit_xfb_buffer;
xfb_buffer = (int) block_xfb_buffer;
}