mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-12 05:56:36 +00:00
![Lei Zhang](/assets/img/avatar_default.png)
The line argument passed into the lineCallback function is the literal value of the first argument of the #line directive. lastLine in DoPreprocessing() should be updated taking into consideration the different definitions for #line between specs. Add a test to reveal the bug.
5 lines
59 B
GLSL
5 lines
59 B
GLSL
#version 310 es
|
|
#line 1 2
|
|
#pragma something
|
|
void main() {}
|