radv: lower 64-bit dfloor on GFX6 for fixing precision issues
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 24 Jun 2020 07:15:47 +0000 (09:15 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 25 Jun 2020 12:09:08 +0000 (12:09 +0000)
commita102896cff296fe305e4734be4a1774958d969d8
treea2284ef3bc63cdb9d06b200978add8069fbc54b6
parentc84f11e7b67cfa3c01780210ca31665b658e5ebd
radv: lower 64-bit dfloor on GFX6 for fixing precision issues

GFX6 doesn't support v_floor_f64 and the precision of v_fract_f64
which is used to implement 64-bit floor is less than what Vulkan
requires.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5609>
.gitlab-ci/deqp-radv-pitcairn-aco-fails.txt
src/amd/compiler/aco_instruction_selection.cpp
src/amd/vulkan/radv_shader.c