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,5 +1,5 @@
spv.130.frag
WARNING: 0:34: '#extension' : extension is only partially supported: GL_ARB_gpu_shader5
WARNING: 0:31: '#extension' : extension is only partially supported: GL_ARB_gpu_shader5
Linked fragment stage:
@@ -7,14 +7,14 @@ Linked fragment stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 214
// Id's are bound by 213
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 17 68 79 99 173 184 185 186 187
EntryPoint Fragment 4 "main" 17 68 79 99 173 184 185 186
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
SourceExtension "GL_ARB_gpu_shader5"
SourceExtension "GL_ARB_shader_texture_lod"
SourceExtension "GL_ARB_shading_language_420pack"
@@ -50,21 +50,20 @@ Linked fragment stage:
Name 184 "fflat"
Name 185 "fsmooth"
Name 186 "fnop"
Name 187 "gl_Color"
Name 194 "bounds"
Name 195 "s2D"
Name 196 "s2DR"
Name 200 "s2DRS"
Name 204 "s1D"
Name 205 "s2DS"
Name 207 "f"
Name 209 "v2"
Name 211 "v3"
Name 213 "v4"
Name 193 "bounds"
Name 194 "s2D"
Name 195 "s2DR"
Name 199 "s2DRS"
Name 203 "s1D"
Name 204 "s2DS"
Name 206 "f"
Name 208 "v2"
Name 210 "v3"
Name 212 "v4"
Decorate 173(gl_ClipDistance) BuiltIn ClipDistance
Decorate 184(fflat) Flat
Decorate 186(fnop) NoPerspective
Decorate 194(bounds) Binding 0
Decorate 193(bounds) Binding 0
2: TypeVoid
3: TypeFunction 2
14: TypeFloat 32
@@ -155,33 +154,32 @@ Linked fragment stage:
184(fflat): 128(ptr) Variable Input
185(fsmooth): 128(ptr) Variable Input
186(fnop): 128(ptr) Variable Input
187(gl_Color): 78(ptr) Variable Input
188: 96(int) Constant 3
189: TypeArray 26(int) 188
190: 26(int) Constant 10
191: 26(int) Constant 23
192: 26(int) Constant 32
193: 189 ConstantComposite 190 191 192
194(bounds): 20(ptr) Variable UniformConstant
195(s2D): 20(ptr) Variable UniformConstant
196(s2DR): 46(ptr) Variable UniformConstant
197: TypeImage 14(float) Rect depth sampled format:Unknown
198: TypeSampledImage 197
199: TypePointer UniformConstant 198
200(s2DRS): 199(ptr) Variable UniformConstant
201: TypeImage 14(float) 1D sampled format:Unknown
202: TypeSampledImage 201
203: TypePointer UniformConstant 202
204(s1D): 203(ptr) Variable UniformConstant
205(s2DS): 54(ptr) Variable UniformConstant
206: TypePointer UniformConstant 14(float)
207(f): 206(ptr) Variable UniformConstant
208: TypePointer UniformConstant 23(fvec2)
209(v2): 208(ptr) Variable UniformConstant
210: TypePointer UniformConstant 39(fvec3)
211(v3): 210(ptr) Variable UniformConstant
212: TypePointer UniformConstant 15(fvec4)
213(v4): 212(ptr) Variable UniformConstant
187: 96(int) Constant 3
188: TypeArray 26(int) 187
189: 26(int) Constant 10
190: 26(int) Constant 23
191: 26(int) Constant 32
192: 188 ConstantComposite 189 190 191
193(bounds): 20(ptr) Variable UniformConstant
194(s2D): 20(ptr) Variable UniformConstant
195(s2DR): 46(ptr) Variable UniformConstant
196: TypeImage 14(float) Rect depth sampled format:Unknown
197: TypeSampledImage 196
198: TypePointer UniformConstant 197
199(s2DRS): 198(ptr) Variable UniformConstant
200: TypeImage 14(float) 1D sampled format:Unknown
201: TypeSampledImage 200
202: TypePointer UniformConstant 201
203(s1D): 202(ptr) Variable UniformConstant
204(s2DS): 54(ptr) Variable UniformConstant
205: TypePointer UniformConstant 14(float)
206(f): 205(ptr) Variable UniformConstant
207: TypePointer UniformConstant 23(fvec2)
208(v2): 207(ptr) Variable UniformConstant
209: TypePointer UniformConstant 39(fvec3)
210(v3): 209(ptr) Variable UniformConstant
211: TypePointer UniformConstant 15(fvec4)
212(v4): 211(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
168: 165 Load 167(sampC)