summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-05-26 09:23:54 +1000
committerDave Airlie <[email protected]>2016-05-26 12:17:03 +1000
commitc952c0e713ea0952ede90483d8f7d780adf45cc0 (patch)
tree18bfb6e4cac9806c8a754c19c7cc876a7d0c4884 /src/compiler
parentc8835a592471a0238e296f6529b5dadb431cc622 (diff)
glsl/ast: assign explicit_xfb_buffer from correct place
This fixes: GL44-CTS.tessellation_shader.tessellation_control_to_tessellation_evaluation.data_pass_through As the OUT_TC interface structures weren't matching because one of them had explicit_xfb_buffer set when it shouldn't. Reviewed-by: Timothy Arceri <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler')
-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;
}