diff options
author | Niels Ole Salscheider <[email protected]> | 2014-08-14 20:22:26 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-08-19 12:56:04 +0200 |
commit | 5ae9bdafd4bd50c0a72abb7cca5f8407efcb4cba (patch) | |
tree | 8e0b1ac2451fa8285fa6cc6792de2743ef2175f6 /bin | |
parent | 498dc676ea7efac9bce490006a4f5b7f81e9e458 (diff) |
gallium/radeon: Do not use u_upload_mgr for buffer downloads
Instead create a staging texture with pipe_buffer_create and
PIPE_USAGE_STAGING.
u_upload_mgr sets the usage of its staging buffer to PIPE_USAGE_STREAM.
But since 150ac07b855b5c5f879bf6ce9ca421ccd1a6c938 CPU -> GPU streaming buffers
are created in VRAM. Therefore the staging texture (in VRAM) does not offer any
performance improvements for buffer downloads.
Signed-off-by: Niels Ole Salscheider <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions