From: Jason Ekstrand Date: Fri, 25 Mar 2016 17:16:23 +0000 (-0700) Subject: nir: Add a descriptor_set field to nir_variable X-Git-Tag: upstream/17.1.0~11030 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e0012e3e41e09c33f7f9d6671a803b7b0a7d9b8;p=platform%2Fupstream%2Fmesa.git nir: Add a descriptor_set field to nir_variable This is needed for supporting the Vulkan binding model Reviewed-by: Rob Clark --- diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 9d48356..8f35377 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -266,6 +266,11 @@ typedef struct nir_variable { int index; /** + * Descriptor set binding for sampler or UBO. + */ + int descriptor_set; + + /** * Initial binding point for a sampler or UBO. * * For array types, this represents the binding point for the first element.