nvc0: fix blit triangle size to fully cover FB's > 8192x8192
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 12 Mar 2016 02:26:31 +0000 (21:26 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 13 Mar 2016 17:17:24 +0000 (13:17 -0400)
commita651bc027d5ed4150bb5240fc9f46a6ca569f665
tree32d8978b154b32f232bb2c9168d4f0489ea6829d
parent01b071d5305d866a56c962fe76cd865badb6060f
nvc0: fix blit triangle size to fully cover FB's > 8192x8192

The idea is that a single triangle will cover the whole area being
drawn, allowing the blit shader to do its work. However the max fb size
is 16384x16384, which means that the triangle we draw needs to be twice
that in order to cover the whole area fully. Increase the size of the
triangle to 32768x32768.

This fixes a number of dEQP tests that were failing because a blit was
involved which would miss some of the resulting texture.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c