Re: [Mesa-dev] [PATCH 0/3] radeonsi: handle unaligned vertex buffers in hardware

2019-05-03 Thread Samuel Pitoiset
On 5/3/19 12:39 PM, Nicolai Hähnle wrote: On 30.04.19 21:20, Marek Olšák wrote: Why can we not use tbuffer loads? tbuffer_load_format has the exact same limitations as buffer_load_format. They both use the same hardware path, the only difference is that tbuffer_load_format gets the format i

Re: [Mesa-dev] [PATCH 0/3] radeonsi: handle unaligned vertex buffers in hardware

2019-05-03 Thread Nicolai Hähnle
On 30.04.19 21:20, Marek Olšák wrote: Why can we not use tbuffer loads? tbuffer_load_format has the exact same limitations as buffer_load_format. They both use the same hardware path, the only difference is that tbuffer_load_format gets the format information from the instruction, while buff

Re: [Mesa-dev] [PATCH 0/3] radeonsi: handle unaligned vertex buffers in hardware

2019-04-30 Thread Marek Olšák
Why can we not use tbuffer loads? Marek On Thu, Apr 25, 2019 at 7:18 AM Nicolai Hähnle wrote: > Hi all, > > the following patches contain code to implement all vertex fetches > using plain, non-format loads plus explicit shader arithmetic for > format conversion. > > This allows us to remove th

[Mesa-dev] [PATCH 0/3] radeonsi: handle unaligned vertex buffers in hardware

2019-04-25 Thread Nicolai Hähnle
Hi all, the following patches contain code to implement all vertex fetches using plain, non-format loads plus explicit shader arithmetic for format conversion. This allows us to remove the software workaround for unaligned vertex buffers on SI, because we can just load individual bytes on the GPU