nir/serialize: restore ray query variables
The ray query status of a variable is tracked in the nir_variable::data. We need to store it in the serialization otherwise restoring NIR from a cache will drop the annotation.
Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: 5a9cdab1 ("nir: track variables representing ray queries")