aco: implement missing nir_op_unpack_half_2x16_split_{x,y}_flush_to_zero
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 30 Sep 2020 13:41:00 +0000 (15:41 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 13 Oct 2020 06:35:22 +0000 (08:35 +0200)
commitb9ca4923d6c33af76dd25548bc8ec975d0bfe96c
treebaae74581028beec0503ae938e86781c3c4fae6a
parent1070bba19e26640bc1dbfd04180e97217761404d
aco: implement missing nir_op_unpack_half_2x16_split_{x,y}_flush_to_zero

SPIRV->NIR emits nir_op_unpack_half_2x16_flush_to_zero instead of
nir_op_unpack_half_2x16 if the shader enables denorm flush to zero
for 16-bit floating point.

This doesn't fix anything known and CTS doesn't have tests.

Fixes: 56d9bcdded8 ("radv: enable more float_controls features")
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/6939>
src/amd/compiler/aco_instruction_selection.cpp