From 1936b25ebd580c5ef9e8cb471a986da39ef46ca5 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 22 Mar 2007 09:04:18 -0600 Subject: [PATCH] print conditional writemask, if enabled --- src/mesa/shader/prog_print.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c index 4519f0c030b..d290ce0a2a5 100644 --- a/src/mesa/shader/prog_print.c +++ b/src/mesa/shader/prog_print.c @@ -388,6 +388,12 @@ print_dst_reg(const struct prog_dst_register *dstReg, gl_prog_print_mode mode, dstReg->Index, mode, prog), writemask_string(dstReg->WriteMask)); + if (dstReg->CondMask != COND_TR) { + _mesa_printf(" (%s.%s)", + condcode_string(dstReg->CondMask), + _mesa_swizzle_string(dstReg->CondSwizzle, GL_FALSE, GL_FALSE)); + } + #if 0 _mesa_printf("%s[%d]%s", file_string((enum register_file) dstReg->File, mode), -- 2.30.2