gallium/tgsi: move tgsi_exec.h header out of draw_context.h
authorDave Airlie <airlied@redhat.com>
Mon, 25 Apr 2016 23:42:38 +0000 (09:42 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 26 Apr 2016 03:00:57 +0000 (13:00 +1000)
It gets annoying that changing the tgsi exec rebuilds the state
tracker unnecessarily. Putting this include into draw_gs.h which
uses it causes a lot less rebuilds.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/draw/draw_context.h
src/gallium/auxiliary/draw/draw_gs.h

index 3e6722fcb7e1713af0e1210c7f33ccebe3d87070..9167ffde753643888427deff3ba894e4dba74ac4 100644 (file)
@@ -39,7 +39,6 @@
 
 
 #include "pipe/p_state.h"
-#include "tgsi/tgsi_exec.h"
 
 struct pipe_context;
 struct draw_context;
index 663ba847cfe7ad9eb84a19c83db65ed9b3ef6537..d256a05d16eb6b5add7a39ab08921c5128280b7c 100644 (file)
@@ -29,6 +29,7 @@
 #define DRAW_GS_H
 
 #include "draw_context.h"
+#include "tgsi/tgsi_exec.h"
 #include "draw_private.h"
 
 #define MAX_TGSI_PRIMITIVES 4