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

Marek Olšák maraeo at gmail.com
Tue Aug 19 02:42:26 PDT 2014


I'll push this, but I need to test piglit first.

Marek

On Tue, Aug 19, 2014 at 5:03 AM, Michel Dänzer <michel at daenzer.net> wrote:
> 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
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list