Move to revision 31 of SPIR-V.
This commit is contained in:
parent
e24a74c320
commit
5e4b1242bf
77 changed files with 6050 additions and 5450 deletions
28
Test/baseResults/spv.simpleFunctionCall.frag.out
Normal file → Executable file
28
Test/baseResults/spv.simpleFunctionCall.frag.out
Normal file → Executable file
|
|
@ -10,42 +10,44 @@ Linked fragment stage:
|
|||
// Id's are bound by 23
|
||||
|
||||
Source GLSL 150
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4
|
||||
EntryPoint Fragment 4 "main"
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Name 4 "main"
|
||||
Name 10 "foo("
|
||||
Name 13 "BaseColor"
|
||||
Name 17 "gl_FragColor"
|
||||
Name 20 "bigColor"
|
||||
Name 22 "d"
|
||||
Decorate 13(BaseColor) Smooth
|
||||
Decorate 13(BaseColor) Smooth
|
||||
Decorate 17(gl_FragColor) BuiltIn FragColor
|
||||
Decorate 20(bigColor) NoStaticUse
|
||||
Decorate 22(d) NoStaticUse
|
||||
Decorate 20(bigColor) NoStaticUse
|
||||
Decorate 22(d) NoStaticUse
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
3: TypeFunction 2
|
||||
7: TypeFloat 32
|
||||
8: TypeVector 7(float) 4
|
||||
9: TypeFunction 8(fvec4)
|
||||
9: TypeFunction 8(fvec4)
|
||||
12: TypePointer Input 8(fvec4)
|
||||
13(BaseColor): 12(ptr) Variable Input
|
||||
13(BaseColor): 12(ptr) Variable Input
|
||||
16: TypePointer Output 8(fvec4)
|
||||
17(gl_FragColor): 16(ptr) Variable Output
|
||||
17(gl_FragColor): 16(ptr) Variable Output
|
||||
19: TypePointer UniformConstant 8(fvec4)
|
||||
20(bigColor): 19(ptr) Variable UniformConstant
|
||||
20(bigColor): 19(ptr) Variable UniformConstant
|
||||
21: TypePointer UniformConstant 7(float)
|
||||
22(d): 21(ptr) Variable UniformConstant
|
||||
22(d): 21(ptr) Variable UniformConstant
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
18: 8(fvec4) FunctionCall 10(foo()
|
||||
Store 17(gl_FragColor) 18
|
||||
18: 8(fvec4) FunctionCall 10(foo()
|
||||
Store 17(gl_FragColor) 18
|
||||
Branch 6
|
||||
6: Label
|
||||
Return
|
||||
FunctionEnd
|
||||
10(foo(): 8(fvec4) Function None 9
|
||||
11: Label
|
||||
14: 8(fvec4) Load 13(BaseColor)
|
||||
14: 8(fvec4) Load 13(BaseColor)
|
||||
ReturnValue 14
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue