From: Kenneth Graunke Date: Sun, 29 Jun 2014 01:27:02 +0000 (-0700) Subject: i965/disasm: Properly disassemble the "atomic" ThreadCtrl value. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a91f92596908f2934350bc115bd889f2926128a;p=mesa.git i965/disasm: Properly disassemble the "atomic" ThreadCtrl value. Signed-off-by: Kenneth Graunke Reviewed-by: Matt Turner Reviewed-by: Kristian Høgsberg --- diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 26b60b6e794..b651120ee7d 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -247,8 +247,9 @@ static const char *const pred_ctrl_align1[16] = { }; static const char *const thread_ctrl[4] = { - [0] = "", - [2] = "switch" + [BRW_THREAD_NORMAL] = "", + [BRW_THREAD_ATOMIC] = "atomic", + [BRW_THREAD_SWITCH] = "switch", }; static const char *const compr_ctrl[4] = {