ac/nir: fix a crash in load_gs_input() on pre-GFX9 chips
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 2 Feb 2018 17:56:39 +0000 (18:56 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 5 Feb 2018 10:05:52 +0000 (11:05 +0100)
commita1d568c8302b0c775fda583beefbbe7725f13dec
tree13c993da0650272aee607aa9048e7ba64e50b815
parent8bb000f460ad8af7a916af1b12206b22616fce32
ac/nir: fix a crash in load_gs_input() on pre-GFX9 chips

Fixes: df1d5174fcc ("ac/nir: replace SI.buffer.load.dword with amdgcn.buffer.load")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c