summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-02-14 06:25:27 +0800
committerChia-I Wu <[email protected]>2015-02-14 06:52:36 +0800
commitc62507f42cf7ea8ce3c3b843f488c6efd26f17dc (patch)
treecb0cdd14f96045132896d88d480c27518e570954
parent7504b357d45d5c814bd8d4511bf42a8c04c8af63 (diff)
ilo: do not set GEN6_THREADCTRL_SWITCH
It is not needed on Gen6+, and it appears to be broken on Gen8.
-rw-r--r--src/gallium/drivers/ilo/shader/toy_legalize.c4
1 files changed, 0 insertions, 4 deletions
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