From: Alyssa Rosenzweig Date: Fri, 4 Jun 2021 18:42:56 +0000 (-0400) Subject: panfrost: Clarify how fs_sidefx works with oq X-Git-Tag: upstream/21.2.3~2165 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2af0c02ffa0e3e6f03bc631fcc1a1260b84a9547;p=platform%2Fupstream%2Fmesa.git panfrost: Clarify how fs_sidefx works with oq Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c index 68e1e9a..02861b6 100644 --- a/src/gallium/drivers/panfrost/pan_cmdstream.c +++ b/src/gallium/drivers/panfrost/pan_cmdstream.c @@ -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;