Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl_codegen.c:
{ if (!strcmp(ext_var->name, name->buffer)) {
if (output)
hlsl_error(ctx, &var->loc, VKD3D_SHADER_ERROR_HLSL_INVALID_SEMANTIC,
"Output semantic \"%s%u\" is used multiple times.", semantic->name, semantic->index);
Can we hlsl_note() with the previous variable's location?