zink: scale depth bias by factor of 2
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 27 Apr 2022 14:11:37 +0000 (10:11 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 10 May 2022 05:32:42 +0000 (05:32 +0000)
commitd0f15304a3fbd09fee114ca15f081e5718b716c8
tree505a6923a3257315bbd00faa9336a518c2bada76
parentf3df3d4c80f5613791f969020189ebff9da99e32
zink: scale depth bias by factor of 2

this is enough to fix CTS

affects/fixes:
dEQP-GLES3.functional.polygon_offset.default_render_with_units
dEQP-GLES3.functional.polygon_offset.fixed16_render_with_units
dEQP-GLES3.functional.polygon_offset.fixed24_render_with_units

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16195>
src/gallium/drivers/zink/ci/zink-anv-icl-fails.txt
src/gallium/drivers/zink/ci/zink-radv-fails.txt
src/gallium/drivers/zink/zink_state.c