Re: [Mesa-dev] [PATCH v3 5/6] radeonsi: use slot indexes for bindless handles

2017-08-11 Thread Marek Olšák
On Fri, Aug 11, 2017 at 6:53 PM, Marek Olšák wrote: > On Tue, Aug 8, 2017 at 6:57 PM, Samuel Pitoiset > wrote: >> Using VRAM address as bindless handles is not a good idea because >> we have to use LLVMIntToPTr and the LLVM CSE pass can't optimize >>

Re: [Mesa-dev] [PATCH v3 5/6] radeonsi: use slot indexes for bindless handles

2017-08-11 Thread Marek Olšák
On Tue, Aug 8, 2017 at 6:57 PM, Samuel Pitoiset wrote: > Using VRAM address as bindless handles is not a good idea because > we have to use LLVMIntToPTr and the LLVM CSE pass can't optimize > because it has no information about the pointer. > > Instead, use slots

[Mesa-dev] [PATCH v3 5/6] radeonsi: use slot indexes for bindless handles

2017-08-08 Thread Samuel Pitoiset
Using VRAM address as bindless handles is not a good idea because we have to use LLVMIntToPTr and the LLVM CSE pass can't optimize because it has no information about the pointer. Instead, use slots indexes like the existing descriptors. Note that we use fixed 16-dword slots for both samplers and