anv/pipeline: Fix MEDIA_VFE_STATE::PerThreadScratchSpace on gen7
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 10 Apr 2019 19:47:12 +0000 (14:47 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 12 Apr 2019 16:08:35 +0000 (16:08 +0000)
commit7eaaff18cb6109dd6c4c58de5a4d3be1362b21ae
treef62a8749e57bfc5fd34c62c472242d97108164f1
parentda1a5a19bddea47a1cbb512a89c6193c8fd1b197
anv/pipeline: Fix MEDIA_VFE_STATE::PerThreadScratchSpace on gen7

We were always programming it with the Broadwell convention which is too
large by a factor of two on Haswell and just plain wrong on IVB and BYT.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable@lists.freedesktop.org
src/intel/vulkan/genX_pipeline.c