[PATCH 2/2] wined3d: Make use of VK_EXT_host_query_reset if available.

Jan Sikorski jsikorski at codeweavers.com
Fri Jul 30 03:22:32 CDT 2021

> On 29 Jul 2021, at 16:24, Henri Verbeet <hverbeet at gmail.com> wrote:
> On Wed, 28 Jul 2021 at 13:42, Jan Sikorski <jsikorski at codeweavers.com> wrote:
>> +    if (VK_CALL(vkResetQueryPoolEXT))
>> +    {
> I think that works, but I'd prefer a proper extension check along the
> lines of "if (vk_info->supported[WINED3D_VK_EXT_HOST_QUERY_RESET])",
> similar to what we do for e.g. VK_EXT_transform_feedback.
> Would it make sense to use this extension for vkd3d as well?

Looks like vkd3d could use a similar query handling upgrade - currently it halts the render pass each time a query is begun/ended, so just using host query reset won’t buy us anything.

- Jan

More information about the wine-devel mailing list