mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
etnaviv: enable occlusion query if GPU supports it
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
This commit is contained in:
parent
246243d447
commit
57a586828f
1 changed files with 2 additions and 1 deletions
|
|
@ -319,8 +319,9 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
|
||||
/* Timer queries. */
|
||||
case PIPE_CAP_QUERY_TIME_ELAPSED:
|
||||
case PIPE_CAP_OCCLUSION_QUERY:
|
||||
return 0;
|
||||
case PIPE_CAP_OCCLUSION_QUERY:
|
||||
return VIV_FEATURE(screen, chipMinorFeatures1, HALTI0);
|
||||
case PIPE_CAP_QUERY_TIMESTAMP:
|
||||
return 1;
|
||||
case PIPE_CAP_QUERY_PIPELINE_STATISTICS:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue