panfrost: Precise occlusion query support

Graphics / Mesa 3D Graphics Library / Mesa - Icecream95 [keemail.me] - 21 October 2020 01:27 UTC

In the "counter" occlusion query mode, each shader core has a separate counter.

When MSAA is disabled, counter values need to be divided by four.

04e955f19bb panfrost: Precise occlusion query support
src/gallium/drivers/panfrost/pan_context.c | 36 +++++++++++++++++++++---------
src/gallium/drivers/panfrost/pan_context.h | 3 +++
2 files changed, 28 insertions(+), 11 deletions(-)

Upstream: cgit.freedesktop.org


  • Share