panfrost: Improve comment for emit_fragment_job
authorIcecream95 <ixn@disroot.org>
Sun, 20 Feb 2022 09:45:02 +0000 (22:45 +1300)
committerAlyssa Rosenzweig <alyssa@collabora.com>
Sat, 5 Mar 2022 19:55:00 +0000 (14:55 -0500)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15250>

src/gallium/drivers/panfrost/pan_cmdstream.c

index ac6356f..0a98d96 100644 (file)
@@ -2410,9 +2410,9 @@ panfrost_initialize_surface(struct panfrost_batch *batch,
         }
 }
 
-/* Generate a fragment job. This should be called once per frame. (According to
- * presentations, this is supposed to correspond to eglSwapBuffers) */
-
+/* Generate a fragment job. This should be called once per frame. (Usually,
+ * this corresponds to eglSwapBuffers or one of glFlush, glFinish)
+ */
 static mali_ptr
 emit_fragment_job(struct panfrost_batch *batch, const struct pan_fb_info *pfb)
 {