summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 1e708dfa985..195908d9a13 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -40,6 +40,9 @@
extern "C" {
#endif
+#define NIR_FALSE 0u
+#define NIR_TRUE (~0u)
+
struct nir_function_overload;
struct nir_function;