radv: always set PA_SC_MODE_CNTL_1.OUT_OF_ORDER_WATER_MARK
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 3 Oct 2018 14:09:24 +0000 (16:09 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 8 Oct 2018 12:17:40 +0000 (14:17 +0200)
It has probably no effect without out of order rasterization
anyway.

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

index 6b3e120802e8c29af46b38b1118c6e66aeb918f1..2db44cb24fdc217c66b4fdcb3dc9f59dede5990b 100644 (file)
@@ -1081,6 +1081,7 @@ radv_pipeline_init_multisample_state(struct radv_pipeline *pipeline,
        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) |
+               S_028A4C_OUT_OF_ORDER_WATER_MARK(0x7) |
                /* always 1: */
                S_028A4C_WALK_ALIGN8_PRIM_FITS_ST(1) |
                S_028A4C_SUPERTILE_WALK_ORDER_ENABLE(1) |
@@ -1124,8 +1125,7 @@ radv_pipeline_init_multisample_state(struct radv_pipeline *pipeline,
        }
 
        if (out_of_order_rast) {
-               ms->pa_sc_mode_cntl_1 |= S_028A4C_OUT_OF_ORDER_PRIMITIVE_ENABLE(1) |
-                                        S_028A4C_OUT_OF_ORDER_WATER_MARK(0x7);
+               ms->pa_sc_mode_cntl_1 |= S_028A4C_OUT_OF_ORDER_PRIMITIVE_ENABLE(1);
        }
 
        if (vkms && vkms->pSampleMask) {