summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-02-19 08:41:56 +1100
committerTimothy Arceri <[email protected]>2018-03-28 12:56:15 +1100
commit5c810a2c05678be2b5b28be1a1ed27f5e9754c00 (patch)
tree29b8177ab5906a05e28f23904afc33be629e1dec /src/compiler/nir/nir.h
parentfb18d0dbe42150af57c562cea08eed10be6efaa5 (diff)
nir: add bindless to nir data
Reviewed-by: Iago Toral Quiroga <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index b474567be1c..9fff1f4647d 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -250,6 +250,12 @@ typedef struct nir_variable {
unsigned fb_fetch_output:1;
/**
+ * Non-zero if this variable is considered bindless as defined by
+ * ARB_bindless_texture.
+ */
+ unsigned bindless:1;
+
+ /**
* \brief Layout qualifier for gl_FragDepth.
*
* This is not equal to \c ir_depth_layout_none if and only if this