OSDN Git Service

radeonsi: Fix guardband computation for large render targets
authorOscar Blumberg <carnaval@12-10e.me>
Tue, 12 Feb 2019 20:52:51 +0000 (21:52 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 12 Feb 2019 22:21:46 +0000 (17:21 -0500)
commit3c540e0a748844258e77254fc4f864f3b875fe18
tree826b3006c2ec059bc1eabfb9113940d3a5b858fb
parent2f8734e13b18ac38d54d6d4e7e6028f41518e5be
radeonsi: Fix guardband computation for large render targets

Stop using 12.12 quantization for viewports that are not contained in
the lower 4k corner of the render target as the hardware needs to keep
both absolute and relative coordinates representable.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Cc: 18.3 19.0 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeonsi/si_state_viewport.c