radv: fix OpQuantizeToF16 for NaN on GFX6-7
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 24 Oct 2019 16:48:54 +0000 (18:48 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 28 Oct 2019 08:31:52 +0000 (09:31 +0100)
commit59127925010bfbab09e0c22a41ce77b334f59942
treebd11a01064e91bad05d12e32d57d254a2e6266e6
parentd82dfca8723a3f25f9fddfedbd022ead854fcdc8
radv: fix OpQuantizeToF16 for NaN on GFX6-7

Do not flush NaN to 0.

Fixes
dEQP-VK.spirv_assembly.instruction.compute.opquantize.propagated_nans

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/llvm/ac_nir_to_llvm.c