aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-09-06 18:03:43 -0700
committerEric Anholt <[email protected]>2011-09-08 21:34:03 -0700
commitd7c6c8428c9908047c88f2672cd1edf6ba60f785 (patch)
tree1a2b7ad6ce296d5872d431d081181199b7399689
parentdf35d691807656d3627b6fa6f51a08674bdc043e (diff)
i965/vs: Switch to the new VS backend by default.
Now instead of env INTEL_NEW_VS=1 to get it, you need INTEL_OLD_VS=1 to not get it. While it's not quite to the same codegen efficiency as the old backend, it is not regressing piglit on G965 and G45, and actually fixing bugs on gen6, and the remaining codegen quality regressions all appear tractable. Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 5ea7385f94b..cb3731907e2 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -248,7 +248,7 @@ GLboolean brwCreateContext( int api,
brw_draw_init( brw );
- brw->new_vs_backend = (getenv("INTEL_NEW_VS") != NULL);
+ brw->new_vs_backend = (getenv("INTEL_OLD_VS") == NULL);
/* If we're using the new shader backend, we require integer uniforms
* stored as actual integers.