iris/compute: Set mask bits on PIPELINE_SELECT
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 13 Sep 2018 18:40:10 +0000 (11:40 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/iris/iris_state.c

index 189bd5e2380c6e5920fe2bb0f176f6a1a5b60d5f..995cd312aad71614e43ce2405d92bd01fa463ee5 100644 (file)
@@ -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;
    }