radv: add potential missing fields for DB_EQAA
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 28 Sep 2018 10:30:08 +0000 (12:30 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 1 Oct 2018 08:16:30 +0000 (10:16 +0200)
Other drivers set these two as well, just apply the same rule.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c

index 94688997b43351ad728b4439cc58fbd23717689e..4b626a59af27cc5ba66c1e107b3af5c845349a10 100644 (file)
@@ -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) |