Fix function call line number for calls spanning multiple lines.

This commit is contained in:
Qingyuan Zheng 2024-07-02 08:11:11 +00:00 committed by arcady-lunarg
parent 85262fb20e
commit 704107fda3
4 changed files with 191 additions and 0 deletions

View 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
)
;
}