mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d: Implement SO statistics queries.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
7b84adec32
commit
2ce7b2305a
@@ -2835,9 +2835,16 @@ HRESULT d3d12_query_heap_create(struct d3d12_device *device, const D3D12_QUERY_H
|
||||
break;
|
||||
|
||||
case D3D12_QUERY_HEAP_TYPE_SO_STATISTICS:
|
||||
FIXME("Unsupported query heap type SO_STATISTICS.\n");
|
||||
vkd3d_free(object);
|
||||
return E_NOTIMPL;
|
||||
if (!device->vk_info.transform_feedback_queries)
|
||||
{
|
||||
FIXME("Transform feedback queries are not supported by Vulkan implementation.\n");
|
||||
vkd3d_free(object);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
pool_info.queryType = VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT;
|
||||
pool_info.pipelineStatistics = 0;
|
||||
break;
|
||||
|
||||
default:
|
||||
WARN("Invalid query heap type %u.\n", desc->Type);
|
||||
|
||||
Reference in New Issue
Block a user