On Wed, Jun 20, 2018 at 9:56 AM, Rob Clark <robdcl...@gmail.com> wrote: > On Tue, Jun 19, 2018 at 9:02 PM, Jonathan Marek <jonat...@marek.ca> wrote: >> blend can be NULL, so check for that > > hmm, which case are you hitting that? From a quick look I think > a3xx-a5xx would have the same issue. Maybe we should just init > ctx->blend to a dummy state obj when the ctx is created?
This generally happens with clears. A long time ago, st/mesa got rejiggered slightly, and a glClear() could happen before a blend state was bound. Many drivers implement clear by doing some amount of validation, so they have to watch out. I'm sure a3xx+ were already fixed for this, but not surprising that a2xx still has issues. -ilia _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev