Mesa (gallium-0.1): gallium: replace 2 with PIPE_SHADER_TYPES

Brian Paul brianp at kemper.freedesktop.org
Wed Nov 26 14:39:57 UTC 2008


Module: Mesa
Branch: gallium-0.1
Commit: 281055987a535d7fa226cfbd9e1acb7777b2b3dd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=281055987a535d7fa226cfbd9e1acb7777b2b3dd

Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed Nov 26 07:06:14 2008 -0700

gallium: replace 2 with PIPE_SHADER_TYPES

---

 src/mesa/state_tracker/st_context.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 1d1aca3..5bcb87c 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -102,7 +102,7 @@ struct st_context
    } state;
 
    struct {
-      struct st_tracked_state tracked_state[2];
+      struct st_tracked_state tracked_state[PIPE_SHADER_TYPES];
    } constants;
 
    /* XXX unused: */




More information about the mesa-commit mailing list