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

@ -129,6 +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
5(MainPs): 3 Function None 4
6: Label
69(i): 10(ptr) Variable Function
@ -144,6 +145,7 @@ PS_OUTPUT MainPs ( PS_INPUT i )
Store 75(@entryPointOutput.vColor) 79
Return
FunctionEnd
Line 1 23 1
15(@MainPs(struct-PS_INPUT-vf21;):12(PS_OUTPUT) Function None 13
14(i): 10(ptr) FunctionParameter
16: Label