etnaviv: Fake occlusion query capability
authorWladimir J. van der Laan <laanwj@gmail.com>
Mon, 5 Dec 2016 12:43:55 +0000 (13:43 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 18 Jan 2017 15:58:18 +0000 (16:58 +0100)
commitb7ac0f567123c96b5cd9e3485b963a5c0a0db66a
tree147f8de48d9ffc8f95dbb8c509e6a9bdada558dc
parent103c363e0adef450aa005376834fd545a2caebf2
etnaviv: Fake occlusion query capability

This enables the PIPE_CAP_OCCLUSION_QUERY capability without adding an
occlusion query type.

This is necessary to get Mesa to report desktop GL 2.0 support (to run
exciting things such as ioq3's OpenGL 2 renderer), and should be valid
because exposing the capability does not guarantee that any
counters are actually implemented.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_screen.c