From: Chia-I Wu Date: Fri, 13 Feb 2015 22:25:27 +0000 (+0800) Subject: ilo: do not set GEN6_THREADCTRL_SWITCH X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c62507f42cf7ea8ce3c3b843f488c6efd26f17dc;p=mesa.git ilo: do not set GEN6_THREADCTRL_SWITCH It is not needed on Gen6+, and it appears to be broken on Gen8. --- diff --git a/src/gallium/drivers/ilo/shader/toy_legalize.c b/src/gallium/drivers/ilo/shader/toy_legalize.c index b949d355a03..f1bacbdc1b1 100644 --- a/src/gallium/drivers/ilo/shader/toy_legalize.c +++ b/src/gallium/drivers/ilo/shader/toy_legalize.c @@ -397,8 +397,6 @@ patch_if_else_jip(struct toy_compiler *tc, struct toy_inst *inst) else { inst->dst = tdst_imm_w(jip); } - - inst->thread_ctrl = GEN6_THREADCTRL_SWITCH; } static void @@ -437,8 +435,6 @@ patch_endif_jip(struct toy_compiler *tc, struct toy_inst *inst) inst->src[1] = tsrc_imm_w(dist * 2); else inst->dst = tdst_imm_w(dist * 2); - - inst->thread_ctrl = GEN6_THREADCTRL_SWITCH; } static void