From: Samuel Pitoiset Date: Fri, 28 Sep 2018 10:30:07 +0000 (+0200) Subject: radv: disable complicated point clipping against user clip planes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd6df2f9237c9267280025ae7bf47a7d256bf87a;p=mesa.git radv: disable complicated point clipping against user clip planes I don't think this is required by Vulkan too. Ported from RadeonSI (AMDVLK doesn't set it either). Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index b49e6d2b2e4..94688997b43 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -2708,7 +2708,6 @@ radv_pipeline_generate_raster_state(struct radeon_cmdbuf *cs, uint32_t pa_sc_conservative_rast = 0; radeon_set_context_reg(cs, R_028810_PA_CL_CLIP_CNTL, - S_028810_PS_UCP_MODE(3) | S_028810_DX_CLIP_SPACE_DEF(1) | // vulkan uses DX conventions. S_028810_ZCLIP_NEAR_DISABLE(vkraster->depthClampEnable ? 1 : 0) | S_028810_ZCLIP_FAR_DISABLE(vkraster->depthClampEnable ? 1 : 0) |