summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/savage/savagecontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/savage/savagecontext.h')
-rw-r--r--src/mesa/drivers/dri/savage/savagecontext.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/savage/savagecontext.h b/src/mesa/drivers/dri/savage/savagecontext.h
index 5ea40cea4b6..501b98adc13 100644
--- a/src/mesa/drivers/dri/savage/savagecontext.h
+++ b/src/mesa/drivers/dri/savage/savagecontext.h
@@ -44,6 +44,8 @@ typedef struct savage_texture_object_t *savageTextureObjectPtr;
#include "savagetex.h"
#include "savagedma.h"
+#include "xmlconfig.h"
+
/* Reasons to fallback on all primitives.
*/
#define SAVAGE_FALLBACK_TEXTURE 0x1
@@ -259,6 +261,11 @@ struct savage_context_t {
volatile GLuint *eventTag1;
GLuint shadowCounter;
GLboolean shadowStatus;
+
+ /* Configuration cache
+ */
+ driOptionCache optionCache;
+ int texture_depth;
};
#define SAVAGE_CONTEXT(ctx) ((savageContextPtr)(ctx->DriverCtx))