aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCharmaine Lee <[email protected]>2016-08-11 18:41:52 -0700
committerBrian Paul <[email protected]>2016-08-26 06:19:51 -0600
commita5fd54f8bf6713312fa5efd7ef5cd125557a0ffe (patch)
tree43dbf413afc24d3e8de56d1fcd828c0a373b7c10 /src
parent2e1cfcc431471c68ba79c9323716bed7da79c909 (diff)
svga: add opt to the list of valid build types
For opt build, add VMX86_STATS to the list of cpp defines. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/svga/svga_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c
index 7567af77892..80d25cfe9e2 100644
--- a/src/gallium/drivers/svga/svga_screen.c
+++ b/src/gallium/drivers/svga/svga_screen.c
@@ -86,6 +86,8 @@ svga_get_name( struct pipe_screen *pscreen )
*/
build = "build: DEBUG;";
mutex = "mutex: " PIPE_ATOMIC ";";
+#elif defined(VMX86_STATS)
+ build = "build: OPT;";
#else
build = "build: RELEASE;";
#endif