diff options
author | Samuel Pitoiset <[email protected]> | 2018-09-28 12:30:07 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-10-01 10:16:25 +0200 |
commit | bd6df2f9237c9267280025ae7bf47a7d256bf87a (patch) | |
tree | 0231878f910fb05557570a407caf9b5b38450bae /src/amd/vulkan/radv_pipeline.c | |
parent | cb863de626486a10273281e89534471549a242a7 (diff) |
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 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_pipeline.c')
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) | |