summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2018-09-13 11:40:10 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:09 -0800
commit25f1625edf6c3f5c514b603e9b1361489a8534c9 (patch)
tree982162c52a8ccbae7721f159c65c0c7b5311ef80 /src
parent9fc672428d7247647d864110e907dbef6ac80cc1 (diff)
iris/compute: Set mask bits on PIPELINE_SELECT
Signed-off-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/iris/iris_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c
index 189bd5e2380..995cd312aad 100644
--- a/src/gallium/drivers/iris/iris_state.c
+++ b/src/gallium/drivers/iris/iris_state.c
@@ -621,6 +621,9 @@ iris_init_compute_context(struct iris_screen *screen,
/* XXX: PIPE_CONTROLs */
iris_emit_cmd(batch, GENX(PIPELINE_SELECT), sel) {
+#if GEN_GEN >= 9
+ sel.MaskBits = 3;
+#endif
sel.PipelineSelection = GPGPU;
}