On Wed, 13 Nov 2019 at 18:34, Conor McCarthy cmccarthy@codeweavers.com wrote:
Some hardware and driver combinations, e.g. AMD RX 580 / RADV, do not support alignments of 0x1000 and 0x10000. This causes GetResourceAllocationInfo() to return a size of ~0 for valid D3D12 alignments. Some games do not check for this. For example Hitman 2 will allocate heaps of size 0xffffffff and run out of vram. This patch also fixes RX 580 alignment test failures.
What are the returned and requested alignments in that case?