SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2.

This commit is contained in:
John Kessenich
2015-11-15 21:33:39 -07:00
parent 1c77f3a8d2
commit 55e7d11ce8
117 changed files with 6740 additions and 5997 deletions

View File

@@ -8,16 +8,16 @@ WARNING: 0:8: varying deprecated in version 130; may be removed in future releas
Linked fragment stage:
// Module Version 99
// Generated by (magic number): 51a00bb
// Id's are bound by 69
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 70
Source GLSL 130
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 45 50 30 30 19
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Name 4 "main"
Name 9 "texColor"
Name 13 "texSampler2D"
@@ -27,12 +27,7 @@ Linked fragment stage:
Name 31 "a"
Name 45 "color"
Name 50 "alpha"
Name 55 "gl_FragColor"
Decorate 19(userIn) Smooth
Decorate 30(gl_TexCoord) Smooth
Decorate 45(color) Smooth
Decorate 50(alpha) Smooth
Decorate 55(gl_FragColor) BuiltIn FragColor
Name 56 "gl_FragColor"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@@ -61,9 +56,11 @@ Linked fragment stage:
45(color): 24(ptr) Variable Input
49: TypePointer Input 6(float)
50(alpha): 49(ptr) Variable Input
54: TypePointer Output 7(fvec4)
55(gl_FragColor): 54(ptr) Variable Output
56: 20(int) Constant 0
52: 15(int) Constant 3
53: TypePointer Function 6(float)
55: TypePointer Output 7(fvec4)
56(gl_FragColor): 55(ptr) Variable Output
57: 20(int) Constant 0
4(main): 2 Function None 3
5: Label
9(texColor): 8(ptr) Variable Function
@@ -88,21 +85,20 @@ Linked fragment stage:
48: 7(fvec4) FAdd 47 46
Store 9(texColor) 48
51: 6(float) Load 50(alpha)
52: 7(fvec4) Load 9(texColor)
53: 7(fvec4) CompositeInsert 51 52 3
Store 9(texColor) 53
57: 24(ptr) AccessChain 30(gl_TexCoord) 56
58: 7(fvec4) Load 57
59: 20(int) Load 22(b)
60: 24(ptr) AccessChain 30(gl_TexCoord) 59
61: 7(fvec4) Load 60
62: 7(fvec4) FAdd 58 61
63: 7(fvec4) Load 9(texColor)
64: 7(fvec4) FAdd 62 63
65: 20(int) Load 31(a)
66: 24(ptr) AccessChain 19(userIn) 65
67: 7(fvec4) Load 66
68: 7(fvec4) FAdd 64 67
Store 55(gl_FragColor) 68
54: 53(ptr) AccessChain 9(texColor) 52
Store 54 51
58: 24(ptr) AccessChain 30(gl_TexCoord) 57
59: 7(fvec4) Load 58
60: 20(int) Load 22(b)
61: 24(ptr) AccessChain 30(gl_TexCoord) 60
62: 7(fvec4) Load 61
63: 7(fvec4) FAdd 59 62
64: 7(fvec4) Load 9(texColor)
65: 7(fvec4) FAdd 63 64
66: 20(int) Load 31(a)
67: 24(ptr) AccessChain 19(userIn) 66
68: 7(fvec4) Load 67
69: 7(fvec4) FAdd 65 68
Store 56(gl_FragColor) 69
Return
FunctionEnd