[PATCH vkd3d 09/12] vkd3d-shader/hlsl: Move hlsl_new_offset_from_path_index() to hlsl_codegen.c.

Giovanni Mascellani gmascellani at codeweavers.com
Thu Jul 14 06:24:31 CDT 2022


Il 08/07/22 23:28, Zebediah Figura ha scritto:
> Is this going to be removed eventually? Or used from hlsl_sm1 and 
> hlsl_sm4? In either case there doesn't seem to be a point in moving it.

Isn't the point of the whole patch set to make so that each backend can 
customize the mapping path index -> register offset without letting the 
common code know? So what I would expect is that reg_offset will be 
removed and each backend will have its private version of 
hlsl_new_offset_from_path_index().

Giovanni.



More information about the wine-devel mailing list