i965: add missing brw_defines.h include in brw_program.c
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 9 Mar 2017 02:05:07 +0000 (02:05 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Mar 2017 11:16:34 +0000 (11:16 +0000)
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@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_state_upload.c

index 0fcbb73c9c1190f3409f57ea0093a23af755b7c1..f22567d2f6ebdb2cc95f748f9e9bf0efe5d9d1d4 100644 (file)
@@ -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"