radv: don't set sx_blend_opt_epsilon for V_028C70_COLOR_10_11_11
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 5 Mar 2021 10:58:03 +0000 (10:58 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Fri, 5 Mar 2021 11:16:40 +0000 (11:16 +0000)
commit524848707b4f2635a64b42bff1e530f0d6e0c0cd
tree532cf27112f1e62788f75c3a8f6fc4c1aa671dbe
parent839007e490d45a5cb43dda4c0aa0c2b8bc47ab78
radv: don't set sx_blend_opt_epsilon for V_028C70_COLOR_10_11_11

Matches radeonsi and PAL. From PAL:
// 1 is recommended, but doesn't provide sufficient precision

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4394
Fixes: ed946381564 ("radv: Enable RB+ where possible.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9427>
src/amd/vulkan/radv_cmd_buffer.c