mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Use d3d12_resource_is_buffer() in d3d12_command_list_ResolveQueryData().
This commit is contained in:
parent
904858f4a9
commit
d42f46cab6
@ -3185,7 +3185,7 @@ static void STDMETHODCALLTYPE d3d12_command_list_ResolveQueryData(ID3D12Graphics
|
||||
if (type == D3D12_QUERY_TYPE_BINARY_OCCLUSION)
|
||||
FIXME("D3D12 guarantees binary occlusion queries result in only 0 and 1.\n");
|
||||
|
||||
if (buffer->desc.Dimension != D3D12_RESOURCE_DIMENSION_BUFFER)
|
||||
if (!d3d12_resource_is_buffer(buffer))
|
||||
{
|
||||
WARN("Destination resource is not a buffer.\n");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user