anv: CPS LOD Compensation Enable is deprecated on Xe2+
On Xe2+, Hardware will always have scale.x and scale.y as 1.0. This is not fixing any issues. Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33726>
This commit is contained in:
@@ -1359,7 +1359,8 @@ VkResult genX(CreateSampler)(
|
||||
.TextureBorderColorMode = DX10OGL,
|
||||
|
||||
#if GFX_VER >= 11
|
||||
.CPSLODCompensationEnable = true,
|
||||
/* This field is marked as disabled on Gfx20+ */
|
||||
.CPSLODCompensationEnable = device->info->ver < 20,
|
||||
#endif
|
||||
|
||||
.LODPreClampMode = CLAMP_MODE_OGL,
|
||||
|
||||
Reference in New Issue
Block a user