summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-05-09 17:15:21 -0700
committerJason Ekstrand <[email protected]>2016-05-14 13:33:52 -0700
commita2f50d87b6e9d07c6974ef309cc99acf56b2dc09 (patch)
tree5891e884fa731b051ea1b47caf399dc61ffacd28 /src/compiler/nir/nir.h
parent59156b2e96315910f1e929c14c5b25ce88f75911 (diff)
nir: Add an info bit for uses_sample_qualifier
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 20927a26abf..d3934fb7916 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -1744,6 +1744,11 @@ typedef struct nir_shader_info {
bool uses_discard;
/**
+ * Whether any inputs are declared with the "sample" qualifier.
+ */
+ bool uses_sample_qualifier;
+
+ /**
* Whether early fragment tests are enabled as defined by
* ARB_shader_image_load_store.
*/