i965/disasm: Fix disassembly of the any16h/all16h predicates.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 6 Jul 2014 05:21:40 +0000 (22:21 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 8 Jul 2014 19:31:01 +0000 (12:31 -0700)
BRW_PREDICATE_ALIGN1_ANY16H was incorrectly being disassembled as
"all16h", and ALL16H would probably print as "(null)".

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_disasm.c

index 00c0fc41ac50d51a41ae9f0af1555ccd0e77c81c..b28cba83cb2044f59c181cf7123f68375a3e8aa9 100644 (file)
@@ -252,7 +252,7 @@ static const char *const pred_ctrl_align1[16] = {
    [BRW_PREDICATE_ALIGN1_ANY8H]  = ".any8h",
    [BRW_PREDICATE_ALIGN1_ALL8H]  = ".all8h",
    [BRW_PREDICATE_ALIGN1_ANY16H] = ".any16h",
-   [BRW_PREDICATE_ALIGN1_ANY16H] = ".all16h",
+   [BRW_PREDICATE_ALIGN1_ALL16H] = ".all16h",
    [BRW_PREDICATE_ALIGN1_ANY32H] = ".any32h",
    [BRW_PREDICATE_ALIGN1_ANY32H] = ".all32h",
 };