radv: set PA.SC_CONSERVATIVE_RASTERIZATION.NULL_SQUAD_AA_MASK_ENABLE
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 12 Nov 2018 20:59:29 +0000 (21:59 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 13 Nov 2018 09:24:33 +0000 (10:24 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c

index f999383018288ffc951be32440d1f732e2affb68..a126c036073e399b9f7107fbade8abc07f2ea3c8 100644 (file)
@@ -2701,7 +2701,7 @@ radv_pipeline_generate_raster_state(struct radeon_cmdbuf *cs,
        const VkPipelineRasterizationStateCreateInfo *vkraster = pCreateInfo->pRasterizationState;
        const VkConservativeRasterizationModeEXT mode =
                radv_get_conservative_raster_mode(vkraster);
-       uint32_t pa_sc_conservative_rast = 0;
+       uint32_t pa_sc_conservative_rast = S_028C4C_NULL_SQUAD_AA_MASK_ENABLE(1);
 
        radeon_set_context_reg(cs, R_028810_PA_CL_CLIP_CNTL,
                               S_028810_DX_CLIP_SPACE_DEF(1) | // vulkan uses DX conventions.