diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-03 16:06:44 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-08-22 11:34:29 +0200 |
commit | c2dfa9b1114db660547eca8bcdf32374313b6a04 (patch) | |
tree | 4886bae62ed5b2f0eb612954083933d790e27d07 /src/mesa/main/texobj.h | |
parent | 50349f404d3e4153c364f21ddc24a57060020003 (diff) |
radeonsi: use slot indexes for bindless handles
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 images.
This doesn't really matter because no real apps use image handles.
This improves performance with DOW3 by +7%.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.h')
0 files changed, 0 insertions, 0 deletions