Mesa (mesa_7_7_branch): svga: Add a missing dependency from the prescale state.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Fri Dec 11 06:14:18 PST 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: ffae1f938d61165fce620bfd76ea7ae74dc63289
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffae1f938d61165fce620bfd76ea7ae74dc63289

Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Dec 11 14:14:03 2009 +0000

svga: Add a missing dependency from the prescale state.

Thanks for Keith to finding this.

Fixes Jedi Knight 2 menus.

---

 src/gallium/drivers/svga/svga_state_constants.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/svga/svga_state_constants.c b/src/gallium/drivers/svga/svga_state_constants.c
index 18cce7d..a5777d4 100644
--- a/src/gallium/drivers/svga/svga_state_constants.c
+++ b/src/gallium/drivers/svga/svga_state_constants.c
@@ -231,7 +231,8 @@ static int emit_vs_consts( struct svga_context *svga,
 struct svga_tracked_state svga_hw_vs_parameters = 
 {
    "hw vs params",
-   (SVGA_NEW_VS_CONST_BUFFER |
+   (SVGA_NEW_PRESCALE |
+    SVGA_NEW_VS_CONST_BUFFER |
     SVGA_NEW_ZERO_STRIDE |
     SVGA_NEW_VS_RESULT),
    emit_vs_consts



More information about the mesa-commit mailing list