On Thu Mar 7 19:21:01 2024 +0000, Giovanni Mascellani wrote:
I would call that "transferring ownership" rather than "lending", and I don't think it's a problem in itself. You're right that I wasn't doing that properly, though, so hopefully now it is fixed. Now ownership of `dxbc_desc` remains with `vkd3d_shader_sm6_parser_create()`, which merely lends a reference to it to `sm6_parser_init()`, which in turn will decide whether to move ownership of the signatures to the program or not (but in both cases exactly one entity remains the owner of the signatures). Is that better for you?
Sorry, I said "lend" incorrectly. Yes, "transferring ownership" is appropriate.
Okay, it is better.