mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 17:50:12 +01:00
spirv: mark variables decorated with XfbBuffer as always active
Otherwise, they are removed during NIR linking or in some lowering passes. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
5bd03d02c1
commit
a1bc152340
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue