Move to revision 31 of SPIR-V.

This commit is contained in:
John Kessenich 2015-08-06 22:53:06 -06:00
parent e24a74c320
commit 5e4b1242bf
77 changed files with 6050 additions and 5450 deletions

25
Test/baseResults/spv.330.geom.out Normal file → Executable file
View file

@ -9,12 +9,13 @@ Linked geometry stage:
Source GLSL 330
SourceExtension "GL_ARB_separate_shader_objects"
Capability Geometry
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Geometry 4
ExecutionMode 4 InputTriangles
EntryPoint Geometry 4 "main"
ExecutionMode 4 InputTriangles
ExecutionMode 4 Invocations 0
ExecutionMode 4 OutputTriangleStrip
ExecutionMode 4 OutputTriangleStrip
ExecutionMode 4 OutputVertices 3
Name 4 "main"
Name 12 "gl_PerVertex"
@ -27,14 +28,14 @@ Linked geometry stage:
Name 21 "gl_in"
MemberDecorate 12(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 12(gl_PerVertex) 1 BuiltIn ClipDistance
Decorate 12(gl_PerVertex) Block
Decorate 12(gl_PerVertex) Block
Decorate 12(gl_PerVertex) Stream 0
Decorate 14 Stream 0
MemberDecorate 17(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 17(gl_PerVertex) 1 BuiltIn ClipDistance
Decorate 17(gl_PerVertex) Block
Decorate 17(gl_PerVertex) Block
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
7: TypeFloat 32
8: TypeVector 7(float) 4
9: TypeInt 32 0
@ -42,14 +43,14 @@ Linked geometry stage:
11: TypeArray 7(float) 10
12(gl_PerVertex): TypeStruct 8(fvec4) 11
13: TypePointer Output 12(gl_PerVertex)
14: 13(ptr) Variable Output
14: 13(ptr) Variable Output
15: TypeInt 32 1
16: 15(int) Constant 0
17(gl_PerVertex): TypeStruct 8(fvec4) 11
18: 9(int) Constant 3
19: TypeArray 17(gl_PerVertex) 18
20: TypePointer Input 19
21(gl_in): 20(ptr) Variable Input
21(gl_in): 20(ptr) Variable Input
22: 15(int) Constant 1
23: TypePointer Input 8(fvec4)
26: TypePointer Output 8(fvec4)
@ -58,13 +59,13 @@ Linked geometry stage:
4(main): 2 Function None 3
5: Label
24: 23(ptr) AccessChain 21(gl_in) 22 16
25: 8(fvec4) Load 24
25: 8(fvec4) Load 24
27: 26(ptr) AccessChain 14 16
Store 27 25
Store 27 25
29: 28(ptr) AccessChain 21(gl_in) 22 22 16
30: 7(float) Load 29
30: 7(float) Load 29
32: 31(ptr) AccessChain 14 22 16
Store 32 30
Store 32 30
EmitVertex
EndPrimitive
Branch 6