etnaviv: fix polygon offset
authorJonathan Marek <jonathan@marek.ca>
Wed, 3 Jul 2019 18:01:33 +0000 (14:01 -0400)
committerJonathan Marek <jonathan@marek.ca>
Thu, 18 Jul 2019 03:07:07 +0000 (23:07 -0400)
commit6c3c05dc38a2e4243252b688282816be8824538b
tree0fd7f1e5f74daff605f5b246308ee39cec3640de
parenta20a9d0c5e7e9d4468cfcf58fc5a4e9ad8f90610
etnaviv: fix polygon offset

Dividing the fui result by 65535 is obviously wrong, and from testing, on
GC7000L at least there is no division by 65535.

Fixes dEQP-GLES2.functional.polygon_offset.fixed16_displacement_with_units

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_rasterizer.c