summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_layout.c
diff options
context:
space:
mode:
authorNiels Ole Salscheider <[email protected]>2014-08-14 20:22:26 +0200
committerMarek Olšák <[email protected]>2014-08-19 12:56:04 +0200
commit5ae9bdafd4bd50c0a72abb7cca5f8407efcb4cba (patch)
tree8e0b1ac2451fa8285fa6cc6792de2743ef2175f6 /src/gallium/drivers/ilo/ilo_layout.c
parent498dc676ea7efac9bce490006a4f5b7f81e9e458 (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 'src/gallium/drivers/ilo/ilo_layout.c')
0 files changed, 0 insertions, 0 deletions