diff options
author | Dave Airlie <[email protected]> | 2018-05-28 11:53:35 +1000 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2018-05-30 17:02:55 +0100 |
commit | e2b6d830b2afb404489d9a28d1e6542c94e7576e (patch) | |
tree | 1ca4adb7cd50b9ba22d9c63e729ea5981fc7a890 /src/gallium/drivers/virgl/virgl_query.c | |
parent | 22b072c194b4afb6ee04fcba4a4f2fa4ee6c74fb (diff) |
virgl: add ARB_transform_feedback_overflow_query support
Reviewed-by: Jakob Bornecrantz <[email protected]>
Signed-off-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_query.c')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_query.c b/src/gallium/drivers/virgl/virgl_query.c index e4d955442bf..a75b29c7c9b 100644 --- a/src/gallium/drivers/virgl/virgl_query.c +++ b/src/gallium/drivers/virgl/virgl_query.c @@ -49,6 +49,7 @@ struct virgl_query { #define VIRGL_QUERY_GPU_FINISHED 9 #define VIRGL_QUERY_PIPELINE_STATISTICS 10 #define VIRGL_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE 11 +#define VIRGL_QUERY_SO_OVERFLOW_ANY_PREDICATE 12 static const int pquery_map[] = { @@ -62,7 +63,7 @@ static const int pquery_map[] = VIRGL_QUERY_PRIMITIVES_EMITTED, VIRGL_QUERY_SO_STATISTICS, VIRGL_QUERY_SO_OVERFLOW_PREDICATE, - -1, + VIRGL_QUERY_SO_OVERFLOW_ANY_PREDICATE, VIRGL_QUERY_GPU_FINISHED, VIRGL_QUERY_PIPELINE_STATISTICS, }; |