-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Fix MGFX Error/Warning Line Numbers #4437
Copy link
Copy link
Open
Labels
Description
Back in #1972 the MGFX compiler was switched over to use CppNet (https://github.com/xtravar/CppNet) for preprocessing. This was the first step towards supporting GLSL.
The problem as reported in #3853 is that CppNet does not report the correct line numbers for errors in all cases.
In particular for multi-line comments or FX files with lots of includes.
We need someone to reproduce those errors and work with or fork CppNet to fix them.
Note the SiliconStudios team uses CppNet as well with what seems like some slightly different fixes to error reporting. We should check their fork:
https://github.com/manu-silicon/CppNet
... to see if it solves our problems as well.
Reactions are currently unavailable