[Mesa-dev] [PATCH v2 09/11] st/mesa: use the occlusion predicate query for GL_ANY_SAMPLES

Marek Olšák maraeo at gmail.com
Wed Feb 3 10:11:25 UTC 2016


On Sun, Jan 31, 2016 at 9:56 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> On Sun, Jan 31, 2016 at 3:32 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>> This is supposed to return GL_TRUE or GL_FALSE, not the full counter
>> value.
>>
>> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
>> ---
>
> Errr... hm. Just realized many drivers will fail at this. Oh well,
> I'll drop it for now.

Are you sure?

We might have to enable this eventually, because if apps use it, it
allows faster rendering than with OCCLUSION_COUNTER, because depth
test with depth-only rendering and no writes can run at HiZ rate
instead of pixel rate.

Marek


More information about the mesa-dev mailing list