mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
intel: check for LLC support when reading maps
This checks for advertised LLC support by the GPU instead of relying on
the GPU generation for detection.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
(cherry picked from commit 84e5f1c635)
This commit is contained in:
parent
7fe667a18d
commit
2f5182cfcf
1 changed files with 1 additions and 1 deletions
|
|
@ -1052,7 +1052,7 @@ intel_miptree_map(struct intel_context *intel,
|
|||
intel_miptree_map_s8(intel, mt, map, level, slice);
|
||||
} else if (mt->stencil_mt) {
|
||||
intel_miptree_map_depthstencil(intel, mt, map, level, slice);
|
||||
} else if (intel->gen >= 6 &&
|
||||
} else if (intel->has_llc &&
|
||||
!(mode & GL_MAP_WRITE_BIT) &&
|
||||
!mt->compressed &&
|
||||
mt->region->tiling == I915_TILING_X) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue