commit | c2a441c6a206d41f598a3c7a64ab90576ae660a7 | [log] [tgz] |
---|---|---|
author | Rhys Perry <pendingchaos02@gmail.com> | Mon Aug 17 11:28:07 2020 +0100 |
committer | Dylan Baker <dylan.c.baker@intel.com> | Fri Aug 21 12:55:47 2020 -0700 |
tree | 50d0e1eb8005307e8365c358f63726bbe8dc40b3 | |
parent | 831473e56e378f985615ecc2683e7cdaf74047c3 [diff] |
aco: fix non-rtz pack_half_2x16 We were using the wrong conversion opcode. The high bits are also not zero'd on GFX10, which can cause v_cvt_pk_u16_u32 to clamp. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Fixes: df645fa369d ('aco: implement VK_KHR_shader_float_controls') Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6346> (cherry picked from commit 9c1e0d86a813af7609acf42cfe6bec7401d6405f)