mesa/main: correct requirement for EXT_occlusion_query_boolean
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 7 Nov 2018 14:13:50 +0000 (15:13 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 23 Nov 2018 09:48:35 +0000 (10:48 +0100)
commit35555b08d7f66b8ac27623be947ba5ebb9dd01c5
treea4689847a9d04a818900d09c31621a41cfcd5801
parent09adaa4b89d57224af988ef7c98846b0f8bf1abf
mesa/main: correct requirement for EXT_occlusion_query_boolean

EXT_occlusion_query_boolean require support for GL_ANY_SAMPLES_PASSED,
which ARB_occlusion_query doesn't supply. We need ARB_occlusion_query2
for this instead.

This is still not 100% accurate, as we also require support for the
GL_SAMPLES_PASSED_CONSERVATIVE target, which isn't guaranteed by either
ARB_occlusion_query nor ARB_occlusion_query2. But it should be trivial
to implement for any driver supporting ARB_occlusion_query2, as it can
simply be implemented as GL_ANY_SAMPLES_PASSED.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/extensions_table.h