Skip to content

anv,driconf: Add fake non device local memory WA for Total War: Warhammer 3

Sviatoslav Peleshko requested to merge GL/mesa:fix_tww3 into main

Total War: WARHAMMER III completely refuses to use memory types with VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT set for some of its allocations. On iGPUs we only have device-local memory, so we must hide it from the flags.

Additionally, the game also seems to crash if a non-local but also non host-visible memory is present, so we should be careful which memory types we hide this flag from.

Closes: #8721

cc: @ccallawa @tripzero

Merge request reports