mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
anv: only use compressed memory types on Xe2+
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:252cac1e5c("anv: avoid memory type changes with INTEL_DEBUG=noccs") Tested-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35615> (cherry picked from commitbfee389f0c)
This commit is contained in:
parent
be6ede15eb
commit
cd001c54a5
2 changed files with 2 additions and 2 deletions
|
|
@ -7614,7 +7614,7 @@
|
|||
"description": "anv: only use compressed memory types on Xe2+",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "252cac1e5c4a4197d49ae29123e78ffe602a5ac9",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ anv_xe_physical_device_init_memory_types(struct anv_physical_device *device)
|
|||
device->memory.types[device->memory.type_count++] = (struct anv_memory_type) {
|
||||
.propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,
|
||||
.heapIndex = 0,
|
||||
.compressed = true,
|
||||
.compressed = device->info.ver >= 20,
|
||||
};
|
||||
device->memory.types[device->memory.type_count++] = (struct anv_memory_type) {
|
||||
.propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue