Fix function call line number for calls spanning multiple lines.
This commit is contained in:
parent
85262fb20e
commit
704107fda3
4 changed files with 191 additions and 0 deletions
25
Test/spv.debuginfo.multiline.glsl.frag
Normal file
25
Test/spv.debuginfo.multiline.glsl.frag
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#version 460
|
||||
|
||||
in float inx;
|
||||
out float outx;
|
||||
|
||||
float add(float x, float y, float z) {
|
||||
return
|
||||
x
|
||||
+
|
||||
y
|
||||
+
|
||||
z
|
||||
;
|
||||
}
|
||||
|
||||
void main() {
|
||||
outx
|
||||
=
|
||||
add(
|
||||
inx+1,
|
||||
inx+2,
|
||||
inx+3
|
||||
)
|
||||
;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue