SPV: Require desktop 140 or ES 310 or above.

This commit is contained in:
John Kessenich
2016-01-22 17:47:22 -07:00
parent 4bfeed5fe8
commit f6eae2a54a
102 changed files with 357 additions and 313 deletions

View File

@@ -1,9 +1,4 @@
spv.varyingArray.frag
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
WARNING: 0:6: varying deprecated in version 130; may be removed in future release
WARNING: 0:8: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@@ -17,11 +12,11 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 19 34 39 45 48
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 9 "texColor"
Name 13 "texSampler2D"
Name 19 "gl_TexCoord"
Name 19 "TexCoord"
Name 34 "color"
Name 39 "alpha"
Name 45 "gl_FragColor"
@@ -39,7 +34,7 @@ Linked fragment stage:
16: 15(int) Constant 6
17: TypeArray 7(fvec4) 16
18: TypePointer Input 17
19(gl_TexCoord): 18(ptr) Variable Input
19(TexCoord): 18(ptr) Variable Input
20: TypeInt 32 1
21: 20(int) Constant 4
22: TypePointer Input 7(fvec4)
@@ -61,9 +56,9 @@ Linked fragment stage:
5: Label
9(texColor): 8(ptr) Variable Function
14: 11 Load 13(texSampler2D)
23: 22(ptr) AccessChain 19(gl_TexCoord) 21
23: 22(ptr) AccessChain 19(TexCoord) 21
24: 7(fvec4) Load 23
26: 22(ptr) AccessChain 19(gl_TexCoord) 25
26: 22(ptr) AccessChain 19(TexCoord) 25
27: 7(fvec4) Load 26
28: 7(fvec4) FAdd 24 27
30: 6(float) CompositeExtract 28 0
@@ -80,10 +75,10 @@ Linked fragment stage:
Store 43 40
50: 22(ptr) AccessChain 48(foo) 49
51: 7(fvec4) Load 50
53: 22(ptr) AccessChain 19(gl_TexCoord) 52
53: 22(ptr) AccessChain 19(TexCoord) 52
54: 7(fvec4) Load 53
55: 7(fvec4) FAdd 51 54
56: 22(ptr) AccessChain 19(gl_TexCoord) 21
56: 22(ptr) AccessChain 19(TexCoord) 21
57: 7(fvec4) Load 56
58: 7(fvec4) FAdd 55 57
59: 7(fvec4) Load 9(texColor)