glslang/Test/baseResults/spv.450.noRedecl.tesc.out
John Kessenich ac3707921e Revert the commits that change OpArrayLength type and bumped the version number.
Now, version 5.* is all connected to making the uint type, which doesn't quite work.
Generator versions 4 and 6 do not do this.
2018-03-07 11:48:25 -07:00

48 lines
2.4 KiB
Plaintext
Executable File

spv.450.noRedecl.tesc
// Module Version 10000
// Generated by (magic number): 80006
// Id's are bound by 21
Capability Tessellation
Capability TessellationPointSize
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationControl 4 "main" 15 20
ExecutionMode 4 OutputVertices 4
Source GLSL 450
Name 4 "main"
Name 11 "gl_PerVertex"
MemberName 11(gl_PerVertex) 0 "gl_Position"
MemberName 11(gl_PerVertex) 1 "gl_PointSize"
MemberName 11(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 11(gl_PerVertex) 3 "gl_CullDistance"
Name 15 "gl_in"
Name 20 "patchOut"
MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 11(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 11(gl_PerVertex) Block
Decorate 20(patchOut) Patch
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypeInt 32 0
9: 8(int) Constant 1
10: TypeArray 6(float) 9
11(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 10
12: 8(int) Constant 32
13: TypeArray 11(gl_PerVertex) 12
14: TypePointer Input 13
15(gl_in): 14(ptr) Variable Input
16: TypeInt 32 1
17: 16(int) Constant 0
18: 16(int) Constant 1
19: TypePointer Output 7(fvec4)
20(patchOut): 19(ptr) Variable Output
4(main): 2 Function None 3
5: Label
Return
FunctionEnd