[PATCH 3/8] d3dx9: Reference top level parameter instead of dirty flag.

Matteo Bruni matteo.mystral at gmail.com
Fri Apr 21 12:17:55 CDT 2017

2017-04-21 19:15 GMT+02:00 Paul Gofman <gofmanp at gmail.com>:
> On 04/21/2017 08:04 PM, Matteo Bruni wrote:
>> It might make sense to store both? Avoiding the extra indirection in
>> is_param_dirty() might help a tiny bit.
>> It's fine to tackle this later on.
> But this is not exactly an extra indirection, dirty flag is referenced by
> top_level_param, just offset is added compared to referencing flags exactly.
> Do you think getting rid of constant displacement to offset register costs
> more than cost effectively induced by having an extra pointer field?

No, you're right, it wouldn't make that much of a difference.

More information about the wine-devel mailing list