From 310aef6b590d3d129b285ff8c50565af8cebacbc Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Wed, 9 Mar 2016 15:38:55 -0800 Subject: intel/compiler: Reverse inclusion dependency between brw_cfg.h and brw_shader.h This reflects the natural dependency relationship between brw_cfg.h and brw_shader.h. brw_cfg.h only requires the base IR definitions which are now part of a separate header. Reviewed-by: Matt Turner Part-of: --- src/intel/compiler/brw_cfg.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/intel/compiler/brw_cfg.h') diff --git a/src/intel/compiler/brw_cfg.h b/src/intel/compiler/brw_cfg.h index 7434b190660..851674a69fe 100644 --- a/src/intel/compiler/brw_cfg.h +++ b/src/intel/compiler/brw_cfg.h @@ -28,7 +28,7 @@ #ifndef BRW_CFG_H #define BRW_CFG_H -#include "brw_shader.h" +#include "brw_ir.h" struct bblock_t; @@ -70,7 +70,8 @@ struct bblock_link { enum bblock_link_kind kind; }; -struct backend_instruction; +struct backend_shader; +struct cfg_t; struct bblock_t { #ifdef __cplusplus -- cgit v1.2.3