anv/gen12: Lower VK_KHR_multiview using Primitive Replication
[mesa.git] / src / intel / blorp / blorp_genX_exec.h
index b3adc6ad41e061c517025a059e035f05eb56ef3c..6e74683f4e0c4d533e4e34af9a015d5aa8e60d9b 100644 (file)
@@ -1350,6 +1350,11 @@ blorp_emit_pipeline(struct blorp_batch *batch,
    blorp_emit_ps_config(batch, params);
 
    blorp_emit_cc_viewport(batch);
+
+#if GEN_GEN >= 12
+   /* Disable Primitive Replication. */
+   blorp_emit(batch, GENX(3DSTATE_PRIMITIVE_REPLICATION), pr);
+#endif
 }
 
 /******** This is the end of the pipeline setup code ********/