radeonsi: center viewport to improve guardband clipping for high resolutions
authorMarek Olšák <marek.olsak@amd.com>
Fri, 28 Sep 2018 22:49:29 +0000 (18:49 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 16 Oct 2018 19:28:22 +0000 (15:28 -0400)
commit9e182b8313c5ab952498a76495f57e8420f9e5ad
treed365aefb270bd6cbf4dfb03b4435dba9de2a1671
parentfedc1fda3096d6e41ccd40efdcff6dc966badbc3
radeonsi: center viewport to improve guardband clipping for high resolutions

This will be more useful when we change the quant mode to increase subpixel
precision and decrease the viewport range (which might not be possible
if the viewport is not centered in the viewport range).
src/gallium/drivers/radeonsi/si_gfx_cs.c
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_viewport.c