Fix OpLine prepending OpFunction reports wrong file when #line is present

This commit is contained in:
Qingyuan Zheng 2022-09-06 23:57:18 -07:00
parent 7757cbebe4
commit c52b3d5075
5 changed files with 154 additions and 97 deletions

View file

@ -129,7 +129,7 @@ PS_OUTPUT MainPs ( PS_INPUT i )
71(i.vTextureCoords): 70(ptr) Variable Input
74: TypePointer Output 11(fvec4)
75(@entryPointOutput.vColor): 74(ptr) Variable Output
Line 1 23 1
Line 17 23 1
5(MainPs): 3 Function None 4
6: Label
69(i): 10(ptr) Variable Function
@ -145,7 +145,7 @@ PS_OUTPUT MainPs ( PS_INPUT i )
Store 75(@entryPointOutput.vColor) 79
Return
FunctionEnd
Line 1 23 1
Line 17 23 1
15(@MainPs(struct-PS_INPUT-vf21;):12(PS_OUTPUT) Function None 13
14(i): 10(ptr) FunctionParameter
16: Label