From c62507f42cf7ea8ce3c3b843f488c6efd26f17dc Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 14 Feb 2015 06:25:27 +0800 Subject: ilo: do not set GEN6_THREADCTRL_SWITCH It is not needed on Gen6+, and it appears to be broken on Gen8. --- src/gallium/drivers/ilo/shader/toy_legalize.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3