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.