radeonsi: fix rendering to tiny viewports where the viewport center is > 8K
authorMarek Olšák <marek.olsak@amd.com>
Thu, 10 Jan 2019 19:32:42 +0000 (14:32 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 22 Jan 2019 16:59:27 +0000 (11:59 -0500)
commit4c4c8bb1f047234d738ab9bb70938bee4733ed2e
tree1b513ed848720e753abfea2f25dbea35efdb95d7
parentcaa2dcd7309311c3f707b1855c7e30c1c72818e2
radeonsi: fix rendering to tiny viewports where the viewport center is > 8K

This fixes an assertion failure with GL CTS when cts-runner is used.
(not a specific test)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108877
Cc: 18.3 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeonsi/si_state_viewport.c