generate OpLine before OpFunction

This commit is contained in:
Qingyuan Zheng 2022-05-23 23:05:43 -07:00
parent 86ff4bca1d
commit 279c28e70a
13 changed files with 42 additions and 1 deletions

View file

@ -215,6 +215,7 @@ Shader version: 500
53: 7(float) Constant 1073741824
60: TypePointer Output 8(fvec4)
61(@entryPointOutput.Pos): 60(ptr) Variable Output
Line 1 11 1
5(main): 3 Function None 4
6: Label
Line 1 11 0
@ -223,6 +224,7 @@ Shader version: 500
Store 61(@entryPointOutput.Pos) 63
Return
FunctionEnd
Line 1 11 1
11(@main():9(VS_OUTPUT) Function None 10
12: Label
14(PosOut): 13(ptr) Variable Function