Added error output to the preprocessor.
This patch distinguishes preprocessing errors with normal parsing errors and gives glslangValidator the ability to output preprocessing errors.
This commit is contained in:
parent
3a194f7ba4
commit
aae1ad8296
21 changed files with 205 additions and 135 deletions
4
Test/preprocessor.success_if_parse_would_fail.vert
Normal file
4
Test/preprocessor.success_if_parse_would_fail.vert
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
int x() {
|
||||
something that shouldnt compile;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue