summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-04-26 09:42:38 +1000
committerDave Airlie <[email protected]>2016-04-26 13:00:57 +1000
commita6aae0c24d83675ecaaf0c6d1d8f05ad9175a9fe (patch)
tree8844b9831904c95fcac7426e67c99d7a7bdd9ac6 /src/gallium/auxiliary
parentbd07e20d208268382a34dca23ff71a8192bb1525 (diff)
gallium/tgsi: move tgsi_exec.h header out of draw_context.h
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 <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/draw/draw_context.h1
-rw-r--r--src/gallium/auxiliary/draw/draw_gs.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.h b/src/gallium/auxiliary/draw/draw_context.h
index 3e6722fcb7e..9167ffde753 100644
--- a/src/gallium/auxiliary/draw/draw_context.h
+++ b/src/gallium/auxiliary/draw/draw_context.h
@@ -39,7 +39,6 @@
#include "pipe/p_state.h"
-#include "tgsi/tgsi_exec.h"
struct pipe_context;
struct draw_context;
diff --git a/src/gallium/auxiliary/draw/draw_gs.h b/src/gallium/auxiliary/draw/draw_gs.h
index 663ba847cfe..d256a05d16e 100644
--- a/src/gallium/auxiliary/draw/draw_gs.h
+++ b/src/gallium/auxiliary/draw/draw_gs.h
@@ -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