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

@ -5,16 +5,16 @@ WARNING: 0:4: 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 50
Source GLSL 130
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 44
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Name 4 "main"
Name 8 "lunarStruct1"
MemberName 8(lunarStruct1) 0 "i"
@ -32,12 +32,9 @@ Linked fragment stage:
Name 22 "locals2"
Name 27 "foo2"
Name 31 "gl_FragColor"
Name 40 "sampler"
Name 40 "samp2D"
Name 44 "coord"
Name 49 "foo"
Decorate 31(gl_FragColor) BuiltIn FragColor
Decorate 44(coord) Smooth
Decorate 49(foo) NoStaticUse
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -62,7 +59,7 @@ Linked fragment stage:
37: TypeImage 7(float) 2D sampled format:Unknown
38: TypeSampledImage 37
39: TypePointer UniformConstant 38
40(sampler): 39(ptr) Variable UniformConstant
40(samp2D): 39(ptr) Variable UniformConstant
42: TypeVector 7(float) 2
43: TypePointer Input 42(fvec2)
44(coord): 43(ptr) Variable Input
@ -88,7 +85,7 @@ Linked fragment stage:
20: Label
35: 34(ptr) AccessChain 22(locals2) 32 33
36: 7(float) Load 35
41: 38 Load 40(sampler)
41: 38 Load 40(samp2D)
45: 42(fvec2) Load 44(coord)
46: 29(fvec4) ImageSampleImplicitLod 41 45
47: 29(fvec4) VectorTimesScalar 46 36