[PATCH vkd3d 1/4] vkd3d: Simplify checking if a descriptor has a view.

Conor McCarthy cmccarthy at codeweavers.com
Wed Dec 15 20:50:42 CST 2021


December 16, 2021 4:17 AM, "Henri Verbeet" <hverbeet at gmail.com> wrote:

>> Saves a few CPU cycles on a potentially very hot code path.
>> Based on a vkd3d-proton patch by Philip Rebohle.
> 
> I've signed of on this as the patch probably makes sense regardless of
> its performance implications, but could you quantify that claim above?
> 

It's probably hard to measure outside of a benchmark which copies many descriptors. It certainly makes the code less ugly when optimised copying is added (not sent yet).



More information about the wine-devel mailing list