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
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
>
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