[Mesa-dev] [PATCH] gallium/radeon: Do not use u_upload_mgr for buffer downloads

Michel Dänzer michel at daenzer.net
Mon Aug 18 20:03:51 PDT 2014


On 15.08.2014 03:22, Niels Ole Salscheider wrote:
> 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 <niels_ole at salscheider-online.de>

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

Do you need somebody to push this for you?


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer


More information about the mesa-dev mailing list