[Mesa-dev] [PATCH] spirv: mark variables decorated with XfbBuffer as always active
Jason Ekstrand
jason at jlekstrand.net
Fri Oct 5 15:46:52 UTC 2018
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
On Fri, Oct 5, 2018 at 7:39 AM Samuel Pitoiset <samuel.pitoiset at gmail.com>
wrote:
> Otherwise, they are removed during NIR linking or in some
> lowering passes.
>
> Cc: Jason Ekstrand <jason.ekstrand at intel.com>
> Cc: Timothy Arceri <tarceri at itsqueeze.com>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/compiler/spirv/vtn_variables.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/compiler/spirv/vtn_variables.c
> b/src/compiler/spirv/vtn_variables.c
> index 358ff4bef7a..636fdb8689a 100644
> --- a/src/compiler/spirv/vtn_variables.c
> +++ b/src/compiler/spirv/vtn_variables.c
> @@ -1326,6 +1326,7 @@ apply_var_decoration(struct vtn_builder *b,
> case SpvDecorationXfbBuffer:
> var_data->explicit_xfb_buffer = true;
> var_data->xfb_buffer = dec->literals[0];
> + var_data->always_active_io = true;
> break;
> case SpvDecorationXfbStride:
> var_data->explicit_xfb_stride = true;
> --
> 2.19.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181005/739d82c4/attachment.html>
More information about the mesa-dev
mailing list