Mesa (master): ilo: do not set GEN6_THREADCTRL_SWITCH
Chia-I Wu
olv at kemper.freedesktop.org
Fri Feb 13 22:58:16 UTC 2015
Module: Mesa
Branch: master
Commit: c62507f42cf7ea8ce3c3b843f488c6efd26f17dc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c62507f42cf7ea8ce3c3b843f488c6efd26f17dc
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Sat Feb 14 06:25:27 2015 +0800
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(-)
diff --git a/src/gallium/drivers/ilo/shader/toy_legalize.c b/src/gallium/drivers/ilo/shader/toy_legalize.c
index b949d35..f1bacbd 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
More information about the mesa-commit
mailing list