On Wed Jun 28 20:34:20 2023 +0000, Francisco Casas wrote:
For now, I just created a `new_semantic` variable for use be used to initialize the new var, since that pattern is currently being used in `add_semantic_var()`.
Yeah, in general I find it more natural to stipulate that ownership is not passed to called functions, except for particular cases (e.g., destroyers). So it would be `hlsl_new_var()`'s duty to duplicate the strings. However it's also fine to settle for a different-than-default choice here.