radeonsi: fix gnome-shell crash
authorMarek Olšák <marek.olsak@amd.com>
Thu, 18 Oct 2018 21:54:24 +0000 (17:54 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 18 Oct 2018 21:55:44 +0000 (17:55 -0400)
commit2a26b1c0451c9eca16febf76a0881737325fda69
treea565f99d3b62b8e885e1bc4aa5fa4c824148a0f3
parent8c0b9fdfa1db596dfce101b9bf5373623a076031
radeonsi: fix gnome-shell crash

I wasn't expecting to get viewports with the center having
negative coordinates.

Broken by: 6cc79e4411f
src/gallium/drivers/radeonsi/si_state_viewport.c