diff options
author | Kenneth Graunke <[email protected]> | 2014-06-28 18:27:02 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-06-30 14:05:28 -0700 |
commit | 9a91f92596908f2934350bc115bd889f2926128a (patch) | |
tree | c0965e95a6f102558529dbc533e722e62e16c468 /src/mesa | |
parent | 156c73a899efd9618cc791447e0b16ac8735c57e (diff) |
i965/disasm: Properly disassemble the "atomic" ThreadCtrl value.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_disasm.c | 5 |
1 files changed, 3 insertions, 2 deletions
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] = { |