Mesa (main): panfrost: Allow FPK on Valhall
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon May 30 14:16:25 UTC 2022
Module: Mesa
Branch: main
Commit: 776fa19db2ccf4b96be0da0ef650da6492e312ef
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=776fa19db2ccf4b96be0da0ef650da6492e312ef
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Wed May 25 17:29:17 2022 -0400
panfrost: Allow FPK on Valhall
Reuse the logic from Bifrost for a performance win.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16748>
---
src/gallium/drivers/panfrost/pan_cmdstream.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c
index 3f8b803e995..f9b89e0e29f 100644
--- a/src/gallium/drivers/panfrost/pan_cmdstream.c
+++ b/src/gallium/drivers/panfrost/pan_cmdstream.c
@@ -3251,6 +3251,7 @@ panfrost_emit_draw(void *out,
cfg.pixel_kill_operation = kill.pixel_kill;
cfg.zs_update_operation = kill.zs_update;
+ cfg.allow_forward_pixel_to_kill = pan_allow_forward_pixel_to_kill(ctx, fs);
cfg.allow_forward_pixel_to_be_killed = !fs->info.fs.sidefx;
/* Mask of render targets that may be written. A render
More information about the mesa-commit
mailing list