i965: Don't override subslice count to 4 on Gen11.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 14 Dec 2018 23:38:29 +0000 (15:38 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 17 Dec 2018 22:03:45 +0000 (14:03 -0800)
commit3c71ba3baab53176bd8f24e8d5b2bce856b5d44f
tree66f2d73ced3b793724e8c716d7eeceebc1fb8457
parentaf07141b33d0a58ed2cfe915b95f146481a4ffef
i965: Don't override subslice count to 4 on Gen11.

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.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_program.c