ac: Introduce ac_build_expand()
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 18 Oct 2018 13:30:11 +0000 (15:30 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 22 Oct 2018 07:44:51 +0000 (09:44 +0200)
commit59535b05cf93f7be5487bd07fb74b0d9feed24de
tree41c67f2ceda90d7865b2d2482b0dd4a95e446218
parentfdd926d5b28aa4b1264c92b8189349caf847c725
ac: Introduce ac_build_expand()

And implement ac_bulid_expand_to_vec4() on top of it.

Fixes: 7e7ee82698247d8f93fe37775b99f4838b0247dd ("ac: add support for 16bit buffer loads")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h