iris: Set MOCS on 3DSTATE_CONSTANT_XS on Gfx9+
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 13 May 2020 22:08:33 +0000 (15:08 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 28 Oct 2021 19:45:55 +0000 (19:45 +0000)
commit0544afd2df8a534f2f72c18c18a8489c78d8024c
tree6f23ed23b31e9e0bbabbd246bb263f5c466f4657
parent8336054024946bc74914fc7f24a5a33b7a9e357f
iris: Set MOCS on 3DSTATE_CONSTANT_XS on Gfx9+

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>
src/gallium/drivers/iris/iris_state.c