2017-01-13 09:10:53 +00:00
|
|
|
spv.stereoViewRendering.tesc
|
|
|
|
// Module Version 10000
|
2017-10-07 17:33:11 +00:00
|
|
|
// Generated by (magic number): 80002
|
2017-03-25 00:38:16 +00:00
|
|
|
// Id's are bound by 38
|
2017-01-13 09:10:53 +00:00
|
|
|
|
2017-09-13 19:22:50 +00:00
|
|
|
Capability Geometry
|
2017-01-13 09:10:53 +00:00
|
|
|
Capability Tessellation
|
2017-09-13 19:22:50 +00:00
|
|
|
Capability ShaderViewportIndexLayerNV
|
2017-01-13 09:10:53 +00:00
|
|
|
Capability ShaderViewportMaskNV
|
|
|
|
Capability ShaderStereoViewNV
|
2017-09-13 19:22:50 +00:00
|
|
|
Extension "SPV_EXT_shader_viewport_index_layer"
|
2017-01-13 09:10:53 +00:00
|
|
|
Extension "SPV_NV_stereo_view_rendering"
|
|
|
|
Extension "SPV_NV_viewport_array2"
|
|
|
|
1: ExtInstImport "GLSL.std.450"
|
|
|
|
MemoryModel Logical GLSL450
|
2017-09-13 19:22:50 +00:00
|
|
|
EntryPoint TessellationControl 4 "main" 16 18 31 37
|
2017-01-13 09:10:53 +00:00
|
|
|
ExecutionMode 4 OutputVertices 4
|
|
|
|
Source GLSL 450
|
|
|
|
SourceExtension "GL_NV_stereo_view_rendering"
|
|
|
|
SourceExtension "GL_NV_viewport_array2"
|
|
|
|
Name 4 "main"
|
|
|
|
Name 12 "gl_PerVertex"
|
2017-09-13 19:22:50 +00:00
|
|
|
MemberName 12(gl_PerVertex) 0 "gl_SecondaryPositionNV"
|
|
|
|
MemberName 12(gl_PerVertex) 1 "gl_SecondaryViewportMaskNV"
|
2017-01-13 09:10:53 +00:00
|
|
|
Name 16 "gl_out"
|
|
|
|
Name 18 "gl_InvocationID"
|
2017-09-13 19:22:50 +00:00
|
|
|
Name 27 "gl_PerVertex"
|
|
|
|
MemberName 27(gl_PerVertex) 0 "gl_Position"
|
|
|
|
MemberName 27(gl_PerVertex) 1 "gl_PointSize"
|
|
|
|
MemberName 27(gl_PerVertex) 2 "gl_ClipDistance"
|
|
|
|
MemberName 27(gl_PerVertex) 3 "gl_CullDistance"
|
|
|
|
MemberName 27(gl_PerVertex) 4 "gl_SecondaryPositionNV"
|
|
|
|
Name 31 "gl_in"
|
|
|
|
Name 37 "gl_Layer"
|
|
|
|
MemberDecorate 12(gl_PerVertex) 0 BuiltIn SecondaryPositionNV
|
|
|
|
MemberDecorate 12(gl_PerVertex) 1 BuiltIn SecondaryViewportMaskNV
|
2017-01-13 09:10:53 +00:00
|
|
|
Decorate 12(gl_PerVertex) Block
|
|
|
|
Decorate 18(gl_InvocationID) BuiltIn InvocationId
|
2017-09-13 19:22:50 +00:00
|
|
|
MemberDecorate 27(gl_PerVertex) 0 BuiltIn Position
|
|
|
|
MemberDecorate 27(gl_PerVertex) 1 BuiltIn PointSize
|
|
|
|
MemberDecorate 27(gl_PerVertex) 2 BuiltIn ClipDistance
|
|
|
|
MemberDecorate 27(gl_PerVertex) 3 BuiltIn CullDistance
|
|
|
|
Decorate 27(gl_PerVertex) Block
|
|
|
|
Decorate 37(gl_Layer) BuiltIn Layer
|
|
|
|
Decorate 37(gl_Layer) ViewportRelativeNV
|
|
|
|
Decorate 37(gl_Layer) SecondaryViewportRelativeNV 1
|
2017-01-13 09:10:53 +00:00
|
|
|
2: TypeVoid
|
|
|
|
3: TypeFunction 2
|
2017-09-13 19:22:50 +00:00
|
|
|
6: TypeFloat 32
|
|
|
|
7: TypeVector 6(float) 4
|
|
|
|
8: TypeInt 32 1
|
2017-01-13 09:10:53 +00:00
|
|
|
9: TypeInt 32 0
|
|
|
|
10: 9(int) Constant 2
|
2017-09-13 19:22:50 +00:00
|
|
|
11: TypeArray 8(int) 10
|
|
|
|
12(gl_PerVertex): TypeStruct 7(fvec4) 11
|
2017-01-13 09:10:53 +00:00
|
|
|
13: 9(int) Constant 4
|
|
|
|
14: TypeArray 12(gl_PerVertex) 13
|
|
|
|
15: TypePointer Output 14
|
|
|
|
16(gl_out): 15(ptr) Variable Output
|
2017-09-13 19:22:50 +00:00
|
|
|
17: TypePointer Input 8(int)
|
2017-01-13 09:10:53 +00:00
|
|
|
18(gl_InvocationID): 17(ptr) Variable Input
|
2017-09-13 19:22:50 +00:00
|
|
|
20: 8(int) Constant 1
|
|
|
|
21: 8(int) Constant 0
|
|
|
|
22: TypePointer Output 8(int)
|
|
|
|
25: 9(int) Constant 1
|
|
|
|
26: TypeArray 6(float) 25
|
|
|
|
27(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 26 26 7(fvec4)
|
|
|
|
28: 9(int) Constant 32
|
|
|
|
29: TypeArray 27(gl_PerVertex) 28
|
|
|
|
30: TypePointer Input 29
|
|
|
|
31(gl_in): 30(ptr) Variable Input
|
|
|
|
32: TypePointer Input 7(fvec4)
|
|
|
|
35: TypePointer Output 7(fvec4)
|
|
|
|
37(gl_Layer): 22(ptr) Variable Output
|
2017-01-13 09:10:53 +00:00
|
|
|
4(main): 2 Function None 3
|
|
|
|
5: Label
|
2017-09-13 19:22:50 +00:00
|
|
|
19: 8(int) Load 18(gl_InvocationID)
|
|
|
|
23: 22(ptr) AccessChain 16(gl_out) 19 20 21
|
|
|
|
Store 23 20
|
|
|
|
24: 8(int) Load 18(gl_InvocationID)
|
|
|
|
33: 32(ptr) AccessChain 31(gl_in) 20 21
|
|
|
|
34: 7(fvec4) Load 33
|
|
|
|
36: 35(ptr) AccessChain 16(gl_out) 24 21
|
|
|
|
Store 36 34
|
2017-01-13 09:10:53 +00:00
|
|
|
Return
|
|
|
|
FunctionEnd
|