[Mesa-dev] [PATCH v2 16/25] i965: add missing brw_defines.h include in brw_program.c

Emil Velikov emil.l.velikov at gmail.com
Thu Mar 9 19:07:05 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

File is using MI_LOAD_REGISTER_IMM, GEN7_CACHE_MODE_1 and others as
defined in the header.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/mesa/drivers/dri/i965/brw_state_upload.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 0fcbb73c9c..f22567d2f6 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -32,6 +32,7 @@
 
 
 #include "brw_context.h"
+#include "brw_defines.h"
 #include "brw_state.h"
 #include "brw_program.h"
 #include "drivers/common/meta.h"
-- 
2.11.1



More information about the mesa-dev mailing list