[Mesa-dev] [PATCH 10/23] i965/disasm: Properly disassemble the "atomic" ThreadCtrl value.
Kristian Høgsberg
hoegsberg at gmail.com
Mon Jun 30 10:16:56 PDT 2014
On Sat, Jun 28, 2014 at 09:33:49PM -0700, Kenneth Graunke wrote:
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
> src/mesa/drivers/dri/i965/brw_disasm.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Double checked the spec, looks right.
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
> diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
> index 26b60b6..b651120 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] = {
> --
> 2.0.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list