These didn't match PIPE_SHADER_*, and it seems much better to make
all such indices match.

Vertex is first because cards with vertex shaders came first.
---
 src/gallium/include/pipe/p_shader_tokens.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/include/pipe/p_shader_tokens.h 
b/src/gallium/include/pipe/p_shader_tokens.h
index c4bd17e..636e7f0 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -40,8 +40,8 @@ struct tgsi_header
    unsigned BodySize   : 24;
 };
 
-#define TGSI_PROCESSOR_FRAGMENT  0
-#define TGSI_PROCESSOR_VERTEX    1
+#define TGSI_PROCESSOR_VERTEX    0
+#define TGSI_PROCESSOR_FRAGMENT  1
 #define TGSI_PROCESSOR_GEOMETRY  2
 
 struct tgsi_processor
-- 
1.7.0.4

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to