diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c index 68e1e9aa12c..02861b60874 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;