panfrost: Clarify how fs_sidefx works with oq

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
This commit is contained in:
Alyssa Rosenzweig
2021-06-04 14:42:56 -04:00
committed by Marge Bot
parent 22a973601b
commit 2af0c02ffa
+2 -1
View File
@@ -263,7 +263,8 @@ panfrost_fs_required(
struct panfrost_blend_state *blend,
struct pipe_framebuffer_state *state)
{
/* If we generally have side effects */
/* If we generally have side effects. This inclues use of discard,
* which can affect the results of an occlusion query. */
if (fs->info.fs.sidefx)
return true;