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

2014-08-19 Thread Marek Olšák
I'll push this, but I need to test piglit first. Marek On Tue, Aug 19, 2014 at 5:03 AM, Michel Dänzer 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

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

2014-08-18 Thread Michel Dänzer
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 >

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

2014-08-14 Thread Niels Ole Salscheider
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