i965/disasm: Properly disassemble the "atomic" ThreadCtrl value.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 29 Jun 2014 01:27:02 +0000 (18:27 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 30 Jun 2014 21:05:28 +0000 (14:05 -0700)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_disasm.c

index 26b60b6e794aea862214d697f2ce575d0e118cf5..b651120ee7d6bc7ef9c83e7e00684e34bfdaa4e5 100644 (file)
@@ -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] = {