[Mesa-dev] [PATCH 3/7] radeonsi: add sampler view BOs to the BO list last

Marek Olšák maraeo at gmail.com
Tue Sep 13 09:31:21 UTC 2016


On Tue, Sep 13, 2016 at 11:22 AM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> On 13.09.2016 00:44, Marek Olšák wrote:
>>
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> This might not be stricly needed, but better safe than sorry.
>
>
> I think it's not needed, but it is a bit cleaner perhaps? If
> si_sampler_view_add_buffer ends up flushing, then the code in begin_new_cs
> would previously have added the buffer(s) for whatever was previously bound
> to that slot. Now it would add only the new buffer.

True, I'll copy your explanation to the commit message. :)

Marek


More information about the mesa-dev mailing list