radv: set DB_EQAA.INCOHERENT_EQAA_READS
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 3 Oct 2018 14:09:23 +0000 (16:09 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 8 Oct 2018 12:17:33 +0000 (14:17 +0200)
My attempt was to set this field instead of duplicating one.

Fixes: 6cfa321c39 ("radv: add potential missing fields for DB_EQAA")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c

index 4b626a59af27cc5ba66c1e107b3af5c845349a10..6b3e120802e8c29af46b38b1118c6e66aeb918f1 100644 (file)
@@ -1075,7 +1075,7 @@ 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_INCOHERENT_EQAA_READS(1) |
                      S_028804_INTERPOLATE_COMP_Z(1) |
                      S_028804_STATIC_ANCHOR_ASSOCIATIONS(1);
        ms->pa_sc_mode_cntl_1 =