Mesa (master): freedreno/ir3: Set the FS .msaa flag to true during precompiles.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri May 1 16:46:33 UTC 2020
Module: Mesa
Branch: master
Commit: 8f01fa1fb3bbb94648ab3955860933aefbcb191a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f01fa1fb3bbb94648ab3955860933aefbcb191a
Author: Eric Anholt <eric at anholt.net>
Date: Wed Apr 15 12:07:16 2020 -0700
freedreno/ir3: Set the FS .msaa flag to true during precompiles.
If you're going out of your way to do per-sample interpolation, you are
almost surely going to be doing so to an MSAA framebuffer. Should reduce
recompiles with MSAA enabled.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4562>
---
src/gallium/drivers/freedreno/ir3/ir3_gallium.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
index f5e93495d20..3507be9bc2e 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
@@ -152,6 +152,7 @@ ir3_shader_create(struct ir3_compiler *compiler,
*/
struct ir3_shader_key key = {
.tessellation = IR3_TESS_NONE,
+ .msaa = true,
};
switch (nir->info.stage) {
More information about the mesa-commit
mailing list