st/mesa: fix PRIMITIVES_GENERATED query after the "pipeline stat single" changes
authorMarek Olšák <marek.olsak@amd.com>
Fri, 18 Jan 2019 16:25:06 +0000 (11:25 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 23 Jan 2019 19:32:57 +0000 (14:32 -0500)
commit42aea4f1a79729885e1dd67efbab23662964187a
tree48e6afbcd8606b5622cffdae8e74fbee2dd8b01b
parentc89e8470e58066637c4bfd5c76a2247eb3608b8b
st/mesa: fix PRIMITIVES_GENERATED query after the "pipeline stat single" changes

When this functionality was added, the PRIMITIVES_GENERATED query was
accidentally omitted. This causes issues for drivers that support
transform feedback."

Fixes: d644698b443 ("gallium: Add the ability to query a single
pipeline statistics counter")

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/state_tracker/st_cb_queryobj.c