Mesa (master): radv: add potential missing fields for DB_EQAA
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Oct 1 08:21:29 UTC 2018
Module: Mesa
Branch: master
Commit: 6cfa321c393e7e15488ce9e01a5ba9f1bc3f6c6d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cfa321c393e7e15488ce9e01a5ba9f1bc3f6c6d
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Fri Sep 28 12:30:08 2018 +0200
radv: add potential missing fields for DB_EQAA
Other drivers set these two as well, just apply the same rule.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
---
src/amd/vulkan/radv_pipeline.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index 94688997b4..4b626a59af 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -1075,7 +1075,9 @@ radv_pipeline_init_multisample_state(struct radv_pipeline *pipeline,
ms->pa_sc_line_cntl = S_028BDC_DX10_DIAMOND_TEST_ENA(1);
ms->pa_sc_aa_config = 0;
ms->db_eqaa = S_028804_HIGH_QUALITY_INTERSECTIONS(1) |
- S_028804_STATIC_ANCHOR_ASSOCIATIONS(1);
+ S_028804_STATIC_ANCHOR_ASSOCIATIONS(1) |
+ S_028804_INTERPOLATE_COMP_Z(1) |
+ S_028804_STATIC_ANCHOR_ASSOCIATIONS(1);
ms->pa_sc_mode_cntl_1 =
S_028A4C_WALK_FENCE_ENABLE(1) | //TODO linear dst fixes
S_028A4C_WALK_FENCE_SIZE(num_tile_pipes == 2 ? 2 : 3) |
More information about the mesa-commit
mailing list