We were leaving this blank due to a Broadwell restriction, causing our
constant buffers to be uncached. We later fixed this for Gfx12+, but
left Gfx9-11 without a fix. We should specify one.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13480>
iris_emit_cmd(batch, GENX(3DSTATE_CONSTANT_VS), pkt) {
pkt._3DCommandSubOpcode = push_constant_opcodes[stage];
-#if GFX_VER >= 12
+
+#if GFX_VER >= 9
pkt.MOCS = isl_mocs(isl_dev, 0, false);
#endif
+
if (prog_data) {
/* The Skylake PRM contains the following restriction:
*