radeonsi: fix maximum advertised point size / line width
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 17 Sep 2017 09:59:37 +0000 (11:59 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 2 Oct 2017 13:07:44 +0000 (15:07 +0200)
commit30e37289ea754302f970705f6f94b8c51c952f30
tree5dfb5a6e1199159c215471fa5893e6c0451f26a3
parenta3fa3b2e025f2a7d1eed45b332a89bc0d66ee0e4
radeonsi: fix maximum advertised point size / line width

The hardware registers store the half-size/width in 12.4 fixed point
format, so 8192 is the maximum.

Fixes dEQP-GLES3.functional.rasterization.*

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeonsi/si_state.c