[PATCH vkd3d v3 17/17] vkd3d-shader/hlsl: Replace register offsets with index paths in split copies.

Francisco Casas fcasas at codeweavers.com
Thu Aug 4 11:27:43 CDT 2022


Hello,

On 28-07-22 17:00, Matteo Bruni wrote:

>>   static bool split_copy(struct hlsl_ctx *ctx, struct hlsl_ir_store *store,
>> -        const struct hlsl_ir_load *load, const unsigned int offset, struct hlsl_type *type)
>> +        const struct hlsl_ir_load *load, const unsigned int indx, struct hlsl_type *type)
> 
> Why "indx" now?

The rename is because I don't want to get it confused with "offset" as 
in "register offset", since it is a "component index" now.

In case you meant why I wrote "indx" instead of "idx", which seems to be 
the standard, it was just a mistake, I will change it.



More information about the wine-devel mailing list