On Tue, Sep 13, 2016 at 11:22 AM, Nicolai Hähnle <nhaeh...@gmail.com> wrote: > On 13.09.2016 00:44, Marek Olšák wrote: >> >> From: Marek Olšák <marek.ol...@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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev