https://bugs.winehq.org/show_bug.cgi?id=24614
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Fixed by SHA1| |9400874e3c64036700804a99af0 | |e2940bc4d6622
--- Comment #21 from Zeb Figura z.figura12@gmail.com --- (In reply to Matteo Bruni from comment #20)
Yes, that's likely to be it. I guess the vkd3d-shader preprocessor doesn't trip on semicolon comments. The d3dcompiler assembler always handled those comments correctly.
The rub is that I think the vkd3d-shader preprocessor still is going to trip on a semicolon comment, say if it has something like /* in it. What fixed this bug is that it doesn't try to parse single-quote strings, which simply aren't a thing in HLSL.