ac/nir: Use correct cast for readfirstlane and ptrs.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 28 Jul 2019 20:32:33 +0000 (22:32 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 6 Aug 2019 15:48:50 +0000 (15:48 +0000)
commit2af00b1fdd9ce58b9e953540e447fdce4d3b9502
treecdc391ee3c9cd269ba5c1c762352783090cc74a4
parent2301b2e029d1616019478531e00faf89b9582ed0
ac/nir: Use correct cast for readfirstlane and ptrs.

Fixes: 028ce527 "radv: Add non-uniform indexing lowering."
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_llvm_build.c