From: Emil Velikov Date: Thu, 9 Mar 2017 02:05:07 +0000 (+0000) Subject: i965: add missing brw_defines.h include in brw_program.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb0832b86db07421d525ddd9633d247b70b897f9;p=mesa.git i965: add missing brw_defines.h include in brw_program.c File is using MI_LOAD_REGISTER_IMM, GEN7_CACHE_MODE_1 and others as defined in the header. Signed-off-by: Emil Velikov Reviewed-by: Jason Ekstrand --- diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c index 0fcbb73c9c1..f22567d2f6e 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"