From f4608bc530e61b7dbc8ebe7eff6ddbc70ac20a9d Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 31 Aug 2015 15:34:56 -0700 Subject: [PATCH] nir/nir_variable: Add a descriptor set field We need this for SPIR-V --- src/glsl/nir/nir.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 2ad739523ba..4c60dbd645a 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -296,6 +296,11 @@ typedef struct { */ int index; + /** + * Descriptor set binding for sampler or UBO. + */ + int descriptor_set; + /** * Initial binding point for a sampler or UBO. * -- 2.30.2