ac/nir: adjust an assertion for D16 on GFX6-GFX7
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 4 Jun 2020 07:28:16 +0000 (09:28 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 8 Jun 2020 06:45:32 +0000 (08:45 +0200)
commit008b0d1701a143df4a7e01f6c56d9ed66f68166c
treedc3b9ae9e06cd6817e118149e7a30cc98c03885b
parentb3beb6207f16ac55e3934b4d4d1f178adb4f4cad
ac/nir: adjust an assertion for D16 on GFX6-GFX7

16-bit types can be used with MUBUF on GFX6-GFX7.

Fixes: c3e0ba52a0a ("ac/nir: support 16-bit data in buffer_load_format opcodes")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5325>
src/amd/llvm/ac_llvm_build.c