aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_context.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-04-24 13:35:44 +0200
committerChristoph Bumiller <[email protected]>2012-04-24 13:35:44 +0200
commita48e5dee94460fb9b70a193069daca5f5b3e575b (patch)
tree0743084c50e80730d4ee3779de76bfd14621034c /src/gallium/drivers/nvc0/nvc0_context.h
parent2170fed8f4c01e719b8fc9d6ff42f3214dadc267 (diff)
nv50,nvc0: don't initialize the draw module, we don't use it
But some day we might (e.g. for blending 16 bpp formats on nv50).
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_context.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.h b/src/gallium/drivers/nvc0/nvc0_context.h
index 140ce1ac7ef..d2dee03a19e 100644
--- a/src/gallium/drivers/nvc0/nvc0_context.h
+++ b/src/gallium/drivers/nvc0/nvc0_context.h
@@ -10,7 +10,9 @@
#include "util/u_inlines.h"
#include "util/u_dynarray.h"
+#ifdef NVC0_WITH_DRAW_MODULE
#include "draw/draw_vertex.h"
+#endif
#include "nv50/nv50_debug.h"
#include "nvc0_winsys.h"
@@ -155,7 +157,9 @@ struct nvc0_context {
struct pipe_stream_output_target *tfbbuf[4];
unsigned num_tfbbufs;
+#ifdef NVC0_WITH_DRAW_MODULE
struct draw_context *draw;
+#endif
};
static INLINE struct nvc0_context *