panfrost: Fix precise occlusion queries on Bifrost
authorIcecream95 <ixn@disroot.org>
Sat, 19 Dec 2020 03:23:16 +0000 (16:23 +1300)
committerMarge Bot <eric+marge@anholt.net>
Sun, 20 Dec 2020 01:22:13 +0000 (01:22 +0000)
commitac265c0a968d1f57e800ec9a2be9f1912f54359f
tree251e8328260ac9aa910a8db3164aec38d84b6d44
parent05ad0f8871d75c29bbfae38ad1051f136fa1a192
panfrost: Fix precise occlusion queries on Bifrost

Bifrost doesn't need the sample count to be divided by four for
non-MSAA framebuffers.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8172>
src/gallium/drivers/panfrost/pan_context.c