[Mesa-dev] [PATCH 4/5] i965/context.h: Add a nir_shader pre-declaration
Jason Ekstrand
jason at jlekstrand.net
Fri Oct 2 19:48:50 PDT 2015
---
src/mesa/drivers/dri/i965/brw_context.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 19a5117..e3b8d0d 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -151,6 +151,9 @@ struct brw_wm_prog_data;
struct brw_cs_prog_key;
struct brw_cs_prog_data;
+/* A lot of stuff also needs at least a pre-declaration of nir_shader */
+struct nir_shader;
+
enum brw_pipeline {
BRW_RENDER_PIPELINE,
BRW_COMPUTE_PIPELINE,
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list