[Mesa-dev] [PATCH] glsl/ast: assign explicit_xfb_buffer from correct place
Timothy Arceri
timothy.arceri at collabora.com
Wed May 25 23:58:27 UTC 2016
On Thu, 2016-05-26 at 09:25 +1000, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This fixes:
> GL44-
> CTS.tessellation_shader.tessellation_control_to_tessellation_evaluati
> on.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.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
> ---
> src/compiler/glsl/ast_to_hir.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compiler/glsl/ast_to_hir.cpp
> b/src/compiler/glsl/ast_to_hir.cpp
> index f025c1a..22bc008 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;
> }
>
More information about the mesa-dev
mailing list