• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.multiviewPerViewAttributes.tesc
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 41
5
6                              Capability Tessellation
7                              Capability PerViewAttributesNV
8                              Extension  "SPV_NVX_multiview_per_view_attributes"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint TessellationControl 4  "main" 17 19 31
12                              ExecutionMode 4 OutputVertices 4
13                              Source GLSL 450
14                              SourceExtension  "GL_NVX_multiview_per_view_attributes"
15                              Name 4  "main"
16                              Name 13  "gl_PerVertex"
17                              MemberName 13(gl_PerVertex) 0  "gl_PositionPerViewNV"
18                              MemberName 13(gl_PerVertex) 1  "gl_ViewportMaskPerViewNV"
19                              Name 17  "gl_out"
20                              Name 19  "gl_InvocationID"
21                              Name 27  "gl_PerVertex"
22                              MemberName 27(gl_PerVertex) 0  "gl_Position"
23                              MemberName 27(gl_PerVertex) 1  "gl_PointSize"
24                              MemberName 27(gl_PerVertex) 2  "gl_ClipDistance"
25                              MemberName 27(gl_PerVertex) 3  "gl_CullDistance"
26                              MemberName 27(gl_PerVertex) 4  "gl_PositionPerViewNV"
27                              Name 31  "gl_in"
28                              MemberDecorate 13(gl_PerVertex) 0 BuiltIn PositionPerViewNV
29                              MemberDecorate 13(gl_PerVertex) 1 BuiltIn ViewportMaskPerViewNV
30                              Decorate 13(gl_PerVertex) Block
31                              Decorate 19(gl_InvocationID) BuiltIn InvocationId
32                              MemberDecorate 27(gl_PerVertex) 0 BuiltIn Position
33                              MemberDecorate 27(gl_PerVertex) 1 BuiltIn PointSize
34                              MemberDecorate 27(gl_PerVertex) 2 BuiltIn ClipDistance
35                              MemberDecorate 27(gl_PerVertex) 3 BuiltIn CullDistance
36                              MemberDecorate 27(gl_PerVertex) 4 BuiltIn PositionPerViewNV
37                              Decorate 27(gl_PerVertex) Block
38               2:             TypeVoid
39               3:             TypeFunction 2
40               6:             TypeFloat 32
41               7:             TypeVector 6(float) 4
42               8:             TypeInt 32 0
43               9:      8(int) Constant 1
44              10:             TypeArray 7(fvec4) 9
45              11:             TypeInt 32 1
46              12:             TypeArray 11(int) 9
4713(gl_PerVertex):             TypeStruct 10 12
48              14:      8(int) Constant 4
49              15:             TypeArray 13(gl_PerVertex) 14
50              16:             TypePointer Output 15
51      17(gl_out):     16(ptr) Variable Output
52              18:             TypePointer Input 11(int)
5319(gl_InvocationID):     18(ptr) Variable Input
54              21:     11(int) Constant 1
55              22:     11(int) Constant 0
56              23:             TypePointer Output 11(int)
57              26:             TypeArray 6(float) 9
5827(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 26 26 10
59              28:      8(int) Constant 32
60              29:             TypeArray 27(gl_PerVertex) 28
61              30:             TypePointer Input 29
62       31(gl_in):     30(ptr) Variable Input
63              32:             TypePointer Input 7(fvec4)
64              35:     11(int) Constant 4
65              39:             TypePointer Output 7(fvec4)
66         4(main):           2 Function None 3
67               5:             Label
68              20:     11(int) Load 19(gl_InvocationID)
69              24:     23(ptr) AccessChain 17(gl_out) 20 21 22
70                              Store 24 21
71              25:     11(int) Load 19(gl_InvocationID)
72              33:     32(ptr) AccessChain 31(gl_in) 21 22
73              34:    7(fvec4) Load 33
74              36:     32(ptr) AccessChain 31(gl_in) 21 35 22
75              37:    7(fvec4) Load 36
76              38:    7(fvec4) FAdd 34 37
77              40:     39(ptr) AccessChain 17(gl_out) 25 22 22
78                              Store 40 38
79                              Return
80                              FunctionEnd
81