mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 16:30:10 +01:00
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:
parent
739ca77e66
commit
2c8148a76e
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue