radv: fix missing ZRANGE_PRECISION(1) for GFX9+
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 8 Jun 2018 15:59:49 +0000 (17:59 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 9 Jun 2018 08:57:01 +0000 (10:57 +0200)
commit94706f0de4a0bb73634ce7333d4182559504a107
tree6026d7c5c644678fa35e280a0da90369ccebc891
parent7dfaf025c5d8fa1487eefc97d615d3cfde50ac6c
radv: fix missing ZRANGE_PRECISION(1) for GFX9+

ZRANGE_PRECISION(1) seems to be the default optimal value, but
it was only set for VI and older chips.

This fixes a rendering issue with Banished through DXVK, and
might fix more than that.

There is still the ZRANGE_PRECISION bug that we need to handle
but that can be fixed later.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c