SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2.
This commit is contained in:
@@ -8,29 +8,24 @@ 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
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 61
|
||||
|
||||
Source GLSL 130
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main"
|
||||
EntryPoint Fragment 4 "main" 34 39 19 19 48
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
Name 9 "texColor"
|
||||
Name 13 "texSampler2D"
|
||||
Name 19 "gl_TexCoord"
|
||||
Name 34 "color"
|
||||
Name 39 "alpha"
|
||||
Name 44 "gl_FragColor"
|
||||
Name 45 "gl_FragColor"
|
||||
Name 48 "foo"
|
||||
Decorate 19(gl_TexCoord) Smooth
|
||||
Decorate 34(color) Smooth
|
||||
Decorate 39(alpha) Smooth
|
||||
Decorate 44(gl_FragColor) BuiltIn FragColor
|
||||
Decorate 48(foo) Smooth
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -53,10 +48,11 @@ Linked fragment stage:
|
||||
34(color): 22(ptr) Variable Input
|
||||
38: TypePointer Input 6(float)
|
||||
39(alpha): 38(ptr) Variable Input
|
||||
43: TypePointer Output 7(fvec4)
|
||||
44(gl_FragColor): 43(ptr) Variable Output
|
||||
45: 15(int) Constant 3
|
||||
46: TypeArray 7(fvec4) 45
|
||||
41: 15(int) Constant 3
|
||||
42: TypePointer Function 6(float)
|
||||
44: TypePointer Output 7(fvec4)
|
||||
45(gl_FragColor): 44(ptr) Variable Output
|
||||
46: TypeArray 7(fvec4) 41
|
||||
47: TypePointer Input 46
|
||||
48(foo): 47(ptr) Variable Input
|
||||
49: 20(int) Constant 1
|
||||
@@ -80,9 +76,8 @@ Linked fragment stage:
|
||||
37: 7(fvec4) FAdd 36 35
|
||||
Store 9(texColor) 37
|
||||
40: 6(float) Load 39(alpha)
|
||||
41: 7(fvec4) Load 9(texColor)
|
||||
42: 7(fvec4) CompositeInsert 40 41 3
|
||||
Store 9(texColor) 42
|
||||
43: 42(ptr) AccessChain 9(texColor) 41
|
||||
Store 43 40
|
||||
50: 22(ptr) AccessChain 48(foo) 49
|
||||
51: 7(fvec4) Load 50
|
||||
53: 22(ptr) AccessChain 19(gl_TexCoord) 52
|
||||
@@ -93,6 +88,6 @@ Linked fragment stage:
|
||||
58: 7(fvec4) FAdd 55 57
|
||||
59: 7(fvec4) Load 9(texColor)
|
||||
60: 7(fvec4) FAdd 58 59
|
||||
Store 44(gl_FragColor) 60
|
||||
Store 45(gl_FragColor) 60
|
||||
Return
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user