ac: Fix loading a dvec3 from an SSBO
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 18 Oct 2018 13:39:13 +0000 (15:39 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 22 Oct 2018 07:44:51 +0000 (09:44 +0200)
commit27fe3f5b5a18c7ae404ac933dae6a9adcb2d5f7b
treebee7cabca3b061220775cee2a2cf1bd7766932ca
parent59535b05cf93f7be5487bd07fb74b0d9feed24de
ac: Fix loading a dvec3 from an SSBO

The comment was wrong, since the loop above casts to a type with the
correct bitsize already.

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_nir_to_llvm.c