Re: [Mesa-dev] [PATCH] ac: fix incorrect argument type for tbuffer.{load, store} with LLVM 7

2019-03-21 Thread Bas Nieuwenhuizen
r-b On Thu, Mar 21, 2019 at 12:41 PM Samuel Pitoiset wrote: > > GLC/SLC are boolean. > > This fixes the following LLVM error when checkir is set: > Intrinsic has incorrect argument type! > void (i32, <4 x i32>, i32, i32, i32, i32, i32, i32, i32, i32)* > @llvm.amdgcn.tbuffer.store.i32 > >

[Mesa-dev] [PATCH] ac: fix incorrect argument type for tbuffer.{load, store} with LLVM 7

2019-03-21 Thread Samuel Pitoiset
GLC/SLC are boolean. This fixes the following LLVM error when checkir is set: Intrinsic has incorrect argument type! void (i32, <4 x i32>, i32, i32, i32, i32, i32, i32, i32, i32)* @llvm.amdgcn.tbuffer.store.i32 Signed-off-by: Samuel Pitoiset --- src/amd/common/ac_llvm_build.c | 8 1