summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-03-24 17:24:01 -0600
committerBrian Paul <[email protected]>2014-03-26 10:31:13 -0600
commitc875d6e57a817bb6a8163a8a98ebd2768ee91848 (patch)
tree53b86bb87d4b9cd3e0ff862590580284a03fb975 /src/gallium/drivers/svga/svga_context.h
parent070951b6ba58ae37e931e79f03636a200df730b9 (diff)
svga: add work-around for Sauerbraten Z fighting issue
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
-rw-r--r--src/gallium/drivers/svga/svga_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h
index 0daab0b3229..1e93b024f9f 100644
--- a/src/gallium/drivers/svga/svga_context.h
+++ b/src/gallium/drivers/svga/svga_context.h
@@ -389,6 +389,11 @@ struct svga_context
/** performance / info queries */
uint64_t num_draw_calls; /**< SVGA_QUERY_DRAW_CALLS */
uint64_t num_fallbacks; /**< SVGA_QUERY_FALLBACKS */
+
+ /** quirks / work-around flags for particular apps */
+ struct {
+ boolean use_decltype_ubyte4n;
+ } workaround;
};
/* A flag for each state_tracker state object: