[PATCH vkd3d 02/12] vkd3d-shader/hlsl: Pass field to add_record_load() via index.

Henri Verbeet hverbeet at gmail.com
Tue Jul 5 05:38:48 CDT 2022


On Tue, 5 Jul 2022 at 11:26, Giovanni Mascellani
<gmascellani at codeweavers.com> wrote:
> It's not a big deal, but this interface looks more complicated than it
> should for such a simple thing. Maybe we could just return the field
> index and the caller can dereference the array if needed?

Right, you should only ever need one or the other. (I.e., &fields[i] -
fields == i)



More information about the wine-devel mailing list