radeonsi: fix polygon offset scale
authorMarek Olšák <marek.olsak@amd.com>
Tue, 11 Aug 2015 20:36:51 +0000 (22:36 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 12 Aug 2015 23:25:26 +0000 (01:25 +0200)
commitbfac8ba9d32be351277c7ea814ac9848bdcb1f16
tree17397e152b9d36d7aa13c33e2e757d2ca750d732
parent8ae88105b60be613126ea07492ffd9712e5e71eb
radeonsi: fix polygon offset scale

The value was copied from r300g, which uses 1/12 subpixels, but this hw
uses 1/16 subpixels.

Fixes piglit: gl-1.4-polygon-offset (formerly a glean test)

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/radeonsi/si_state.c