
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.
24 lines
162 B
Plaintext
24 lines
162 B
Plaintext
#line 300
|
|
|
|
#line 2
|
|
|
|
#line 10
|
|
|
|
#line 2
|
|
|
|
#line 0
|
|
#line 4
|
|
|
|
#line 8
|
|
|
|
void main(){
|
|
gl_Position = vec4(10);
|
|
}
|
|
#line 8 4
|
|
|
|
#line 12 3
|
|
|
|
#line 1
|
|
|
|
|