[Mesa-dev] [PATCH 10/10] intel: Request DRI2 buffers for separate stencil and hiz

Julien Cristau jcristau at debian.org
Tue Jun 7 01:33:47 PDT 2011


On Mon, Jun  6, 2011 at 18:56:20 -0700, Kenneth Graunke wrote:

> I'd make this an assertion.  must_use_separate_stencil is only set for  
> gen >= 7, and I assert that try_separate_stencil ought to be true in  
> that case (old DDX doesn't support IVB, new DDX requires new dri2proto  
> to compile).
>
> Only unreleased git-snapshots of the DDX should hit this (and only on  
> unreleased hardware), so hitting an assertion seems like a friendly way  
> to say "hey, update your DDX".
>
There's nothing friendly about hitting an assertion, so if there's
another option then please avoid assert...

Cheers,
Julien


More information about the mesa-dev mailing list