iris: Fix scratch space allocation on Icelake.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 14 Dec 2018 23:48:07 +0000 (15:48 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:11 +0000 (10:26 -0800)
commit73d525f1883a67a19d30b66d4e30788e781cc436
treea99f3b137810d448badb2034ba287a47311be69e
parent154e3e45bb65d9aed9e277274a9acf1b0947fc72
iris: Fix scratch space allocation on Icelake.

Gen9-10 have fewer than 4 subslices per slice, so they need this to be
rounded up.  Gen11 isn't documented as needing this hack, and it can
also have more than 4 subslices, so the hack actually can break things.

Fixes tests/spec/arb_enhanced_layouts/execution/component-layout/
sso-vs-gs-fs-array-interleave
src/gallium/drivers/iris/iris_program.c