radeonsi: add all resident buffers to the current CS

Graphics / Mesa 3D Graphics Library / Mesa - Samuel Pitoiset [gmail.com] - 14 June 2017 04:04 EDT

Resident buffers have to be added to every new command stream. Though, this could be slightly improved when current shaders don't use any bindless textures/images but usually applications tend to use bindless for almost every draw call, and the winsys thread might help when buffers are added early.

333c8f6 radeonsi: add all resident buffers to the current CS
src/gallium/drivers/radeonsi/si_descriptors.c | 50 +++++++++++++++++++++++++++
src/gallium/drivers/radeonsi/si_hw_context.c | 1 +
src/gallium/drivers/radeonsi/si_state.h | 1 +
3 files changed, 52 insertions(+)

Upstream: cgit.freedesktop.org


  • Share