nvc0: write 0 to pipeline_statistics.cs_invocations
authorKarol Herbst <karolherbst@gmail.com>
Sun, 27 Aug 2017 16:00:52 +0000 (18:00 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 1 Sep 2017 02:57:22 +0000 (22:57 -0400)
commitb672c3833b7ea51c09a6bcbed86b8fb6789448f1
tree79bf2b895f3cd3bbb75bd3486d472e56443739fd
parent57c8ead0cd08e6aaf88a389f7ce528c4f0face65
nvc0: write 0 to pipeline_statistics.cs_invocations

cs_invocations are currently unsupported, but leaving the field uninitialized
is even worse.

fixes on nvc0:
 * KHR-GL45.pipeline_statistics_query_tests_ARB.functional_default_qo_values
 * KHR-GL45.pipeline_statistics_query_tests_ARB.functional_non_rendering_commands_do_not_affect_queries

Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c