commit | 8f6eb35e0972e95127ab8ea984f915f7c3526544 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Mon Aug 24 13:52:46 2020 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Mon Aug 31 13:20:11 2020 +1000 |
tree | 10129667944539026d24ef4cbb021723a95a36d2 | |
parent | b31e8460a6bef37063bb9dfb55e4df3298cd533f [diff] |
gallivm/nir: add some f16 support GLSL lowers packhalf2x16 itself, but for SPIRV we don't have that option. For packing when NIR lowers it uses f2f16 and for unpack it needs the casting and f2f32 Fixes: dEQP-VK.glsl.builtin.function.pack_unpack.packhalf2x16* dEQP-VK.glsl.builtin.function.pack_unpack.unpackhalf2x16* Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6381>