spirv: mark variables decorated with XfbBuffer as always active
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 5 Oct 2018 12:39:01 +0000 (14:39 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 5 Oct 2018 16:13:25 +0000 (18:13 +0200)
commita1bc1523408a305b14a8c297ea93a28bb12cee5d
tree1e0bf1ff1904fc0b51436fe2498d53a17458df1c
parent5bd03d02c15359b832db3140bcd3f7fb6be9a987
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>
src/compiler/spirv/vtn_variables.c