22 May
2023
22 May
'23
1:33 p.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl_codegen.c:
{ for (i = 0; i < type->reg_size[k]; ++i) { - /* Samplers are only allocated until the last used one. */ + bool is_separated = !strncmp(var->name, "<resource>", strlen("<resource>"));
Similarly to another comment, I don't really like the keep business information in a field like a name string. Can't this be encoded with a flag? -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/209#note_33393