summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_print.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-18 19:46:19 -0600
committerBrian Paul <[email protected]>2008-07-18 19:46:19 -0600
commit72e57b52f02db17d47dce23abedea72a47af806e (patch)
tree3de4154401c380cad6ac1aee984c457dcad9038e /src/mesa/shader/prog_print.c
parent7218626cf5ecc00fc7ef994253c20c9a2df35cc2 (diff)
mesa: glsl: various writemask/swizzle improvements and clean-ups
Diffstat (limited to 'src/mesa/shader/prog_print.c')
-rw-r--r--src/mesa/shader/prog_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c
index 014d08f062b..5368ab21877 100644
--- a/src/mesa/shader/prog_print.c
+++ b/src/mesa/shader/prog_print.c
@@ -313,7 +313,7 @@ reg_string(enum register_file f, GLint index, gl_prog_print_mode mode,
const char *
_mesa_swizzle_string(GLuint swizzle, GLuint negateBase, GLboolean extended)
{
- static const char swz[] = "xyzw01?!";
+ static const char swz[] = "xyzw01!?"; /* See SWIZZLE_x definitions */
static char s[20];
GLuint i = 0;