mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
libs/vkd3d: Check if device memory is CPU accessible in d3d12_resource_Map().
This commit is contained in:
@@ -2716,7 +2716,7 @@ static void test_map_resource(void)
|
||||
|
||||
/* Resources on a DEFAULT heap cannot be mapped. */
|
||||
hr = ID3D12Resource_Map(resource, 0, NULL, &data);
|
||||
todo(hr == E_INVALIDARG, "Got unexpected hr %#x.\n", hr);
|
||||
ok(hr == E_INVALIDARG, "Got unexpected hr %#x.\n", hr);
|
||||
|
||||
ID3D12Resource_Release(resource);
|
||||
|
||||
|
Reference in New Issue
Block a user