spirv: Handle XFB variable decorations
authorNeil Roberts <nroberts@igalia.com>
Tue, 12 Dec 2017 16:22:49 +0000 (17:22 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 31 Jul 2018 11:18:28 +0000 (13:18 +0200)
commitcd4a14be063957964ae54e0e828174b9e40961e0
tree97566cb1bc985447227d029abe6b42c5cb6128bb
parenta5ec8461f93318ceeb19577d917725cb3f368ec9
spirv: Handle XFB variable decorations

These set the new explicit XFB members on nir_variable.

This is needed to support ARB_gl_spirv, as Vulkan doesn't support
transform feedback.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/spirv/vtn_variables.c