summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_to_nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-05-25 17:27:57 -0700
committerJason Ekstrand <[email protected]>2016-05-26 14:13:38 -0700
commit58d1e82d32ccdbcda4dbf96c8fdef827ad076c10 (patch)
tree806a05a899828ba3835ab91108b0a4331e5bcd07 /src/mesa/program/prog_to_nir.h
parent32210dea8e474f8e93f5df681fb6a8265a0cda4b (diff)
ptn: Include nir.h
Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_to_nir.h')
-rw-r--r--src/mesa/program/prog_to_nir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/program/prog_to_nir.h b/src/mesa/program/prog_to_nir.h
index 34e4cd10461..09425b52e17 100644
--- a/src/mesa/program/prog_to_nir.h
+++ b/src/mesa/program/prog_to_nir.h
@@ -24,6 +24,9 @@
#pragma once
#ifndef PROG_TO_NIR_H
#define PROG_TO_NIR_H
+
+#include "compiler/nir/nir.h"
+
#ifdef __cplusplus
extern "C" {
#endif