isl: Validate row pitch of stencil surfaces.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 9 Aug 2017 18:31:48 +0000 (11:31 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 10 Aug 2017 22:18:58 +0000 (15:18 -0700)
commit5563872dbfbf733ed56e1b367bc8944ca59b1c3e
tree7f672e9e91b44fc0ac4aaa83af2381968ba3e5f8
parent26fbb9eacddb1b809739cb12477bde13501d6d5a
isl: Validate row pitch of stencil surfaces.

Also, silence an obnoxious finishme that started occurring for all
GL applications which use stencil after the i965 ISL conversion.

v2: Check against 3DSTATE_STENCIL_BUFFER's pitch bits when using
    separate stencil, and 3DSTATE_DEPTH_BUFFER's bits when using
    combined depth-stencil.

Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/isl/isl.c