diff options
author | Christian Gmeiner <[email protected]> | 2017-01-18 17:32:51 +0100 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2017-01-18 17:39:28 +0100 |
commit | 65a44a76fc076c4127c0c7b07fb38891e61ea400 (patch) | |
tree | 586fc39dfe5d26a70eccc9a96f0dc1ec16d854c0 | |
parent | 730574c58e84306be04c4b82e38f201d6ed37c99 (diff) |
Revert "etnaviv: Fake occlusion query capability"
This reverts commit b7ac0f567123c96b5cd9e3485b963a5c0a0db66a.
This is a half baked solution needs some rework to fixes issues
with reported counter bits (GL_QUERY_COUNTER_BITS_ARB).
Also it enables PIPE_CAP_QUERY_TIME_ELAPSED accidently.
Signed-off-by: Christian Gmeiner <[email protected]>
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_screen.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c index bf66168232a..fa762262d00 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_screen.c +++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c @@ -292,10 +292,9 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1; /* Timer queries. */ - case PIPE_CAP_OCCLUSION_QUERY: /* Not implemented - fake it for OpenGL2 */ - return 1; - case PIPE_CAP_QUERY_TIME_ELAPSED: + case PIPE_CAP_OCCLUSION_QUERY: + return 0; case PIPE_CAP_QUERY_TIMESTAMP: return 1; case PIPE_CAP_QUERY_PIPELINE_STATISTICS: |