6 Apr
2023
6 Apr
'23
1:03 a.m.
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? -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/148#note_29101