Sanitize debug source location tracking for implicit branch and return
This patch tries to attach debug location of a branch/return instruction to its predecessor or the closing brace. If none could be found, no debug info should be emitted.
This commit is contained in:
parent
b1fac200c4
commit
a496a34b43
30 changed files with 4713 additions and 4253 deletions
|
|
@ -168,6 +168,7 @@ void main()
|
|||
82: 34(fvec4) CompositeConstruct 81 81 81 81
|
||||
83: 34(fvec4) ExtInst 2(GLSL.std.450) 46(FMix) 73 76 82
|
||||
Store 72(gl_FragColor) 83
|
||||
Line 1 107 0
|
||||
Return
|
||||
FunctionEnd
|
||||
Line 7 1 20
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue