From: Eric Anholt Date: Tue, 4 Aug 2009 23:26:37 +0000 (-0700) Subject: i965: Print out ELSE and ENDIF src1 arguments like IF does. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8288ab4518241746be9989e008b48345c7394d10;p=mesa.git i965: Print out ELSE and ENDIF src1 arguments like IF does. --- diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 3e22ca6c99d..9fef230507f 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -75,7 +75,7 @@ struct { [BRW_OPCODE_IF] = { .name = "if", .nsrc = 2, .ndst = 0 }, [BRW_OPCODE_IFF] = { .name = "iff", .nsrc = 1, .ndst = 01 }, [BRW_OPCODE_WHILE] = { .name = "while", .nsrc = 1, .ndst = 0 }, - [BRW_OPCODE_ELSE] = { .name = "else", .nsrc = 1, .ndst = 0 }, + [BRW_OPCODE_ELSE] = { .name = "else", .nsrc = 2, .ndst = 0 }, [BRW_OPCODE_BREAK] = { .name = "break", .nsrc = 1, .ndst = 0 }, [BRW_OPCODE_CONTINUE] = { .name = "cont", .nsrc = 1, .ndst = 0 }, [BRW_OPCODE_HALT] = { .name = "halt", .nsrc = 1, .ndst = 0 }, @@ -85,7 +85,7 @@ struct { [BRW_OPCODE_POP] = { .name = "pop", .nsrc = 2, .ndst = 0 }, [BRW_OPCODE_WAIT] = { .name = "wait", .nsrc = 1, .ndst = 0 }, [BRW_OPCODE_DO] = { .name = "do", .nsrc = 0, .ndst = 0 }, - [BRW_OPCODE_ENDIF] = { .name = "endif", .nsrc = 0, .ndst = 0 }, + [BRW_OPCODE_ENDIF] = { .name = "endif", .nsrc = 2, .ndst = 0 }, }; char *conditional_modifier[16] = {