wined3d: Do not request VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT for unmappable buffers.
commit675adf01635634834c12392063061a2596e664d0
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 10 Dec 2020 13:20:14 +0000 (10 16:50 +0330)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 10 Dec 2020 15:26:39 +0000 (10 16:26 +0100)
tree8e14fd0c5a9f1e38003d41668bb8398b1dfce830
parentff0aa5a8da870cca49d1d39b01cb20ba8517e062
wined3d: Do not request VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT for unmappable buffers.

In particular, some implementations may not support the combination of
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT and VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT
for all buffer types, or at all.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/buffer.c