• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1link.vk.pcNamingValid.0.0.vert
2Shader version: 450
30:? Sequence
40:16  Function Definition: main( ( global void)
50:16    Function Parameters:
60:18    Sequence
70:18      move second child to first child ( temp highp 4-component vector of float)
80:18        'oColor' (layout( location=0) smooth out highp 4-component vector of float)
90:18        component-wise multiply ( temp highp 4-component vector of float)
100:18          color1: direct index for structure (layout( column_major std430 offset=128) uniform highp 4-component vector of float)
110:18            'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
120:18            Constant:
130:18              2 (const int)
140:18          Function Call: getColor2( ( global highp 4-component vector of float)
150:20      move second child to first child ( temp highp 4-component vector of float)
160:20        gl_Position: direct index for structure ( gl_Position highp 4-component vector of float Position)
170:20          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance,  out unsized 1-element array of float CullDistance gl_CullDistance})
180:20          Constant:
190:20            0 (const uint)
200:20        matrix-times-vector ( temp highp 4-component vector of float)
210:20          uProj: direct index for structure (layout( column_major std430 offset=64) uniform highp 4X4 matrix of float)
220:20            'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
230:20            Constant:
240:20              1 (const int)
250:20          Function Call: getWorld( ( global highp 4-component vector of float)
260:?   Linker Objects
270:?     'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
280:?     'oColor' (layout( location=0) smooth out highp 4-component vector of float)
290:?     'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance,  out unsized 1-element array of float CullDistance gl_CullDistance})
30
31link.vk.pcNamingValid.0.1.vert
32Shader version: 450
330:? Sequence
340:13  Function Definition: getColor2( ( global highp 4-component vector of float)
350:13    Function Parameters:
360:15    Sequence
370:15      Branch: Return with expression
380:15        color2: direct index for structure (layout( column_major std430 offset=144) uniform highp 4-component vector of float)
390:15          'b' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
400:15          Constant:
410:15            3 (const int)
420:18  Function Definition: getWorld( ( global highp 4-component vector of float)
430:18    Function Parameters:
440:20    Sequence
450:20      Branch: Return with expression
460:20        matrix-times-vector ( temp highp 4-component vector of float)
470:20          uWorld: direct index for structure (layout( column_major std430 offset=0) uniform highp 4X4 matrix of float)
480:20            'b' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
490:20            Constant:
500:20              0 (const int)
510:20          'P' (layout( location=0) in highp 4-component vector of float)
520:?   Linker Objects
530:?     'b' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
540:?     'P' (layout( location=0) in highp 4-component vector of float)
55
56
57Linked vertex stage:
58
59WARNING: Linking vertex and vertex stages: Matched shader interfaces are using different instance names.
60    vertex stage: Block: PCBlock Instance: a: ""
61    vertex stage: Block: PCBlock Instance: b: ""
62
63Shader version: 450
640:? Sequence
650:16  Function Definition: main( ( global void)
660:16    Function Parameters:
670:18    Sequence
680:18      move second child to first child ( temp highp 4-component vector of float)
690:18        'oColor' (layout( location=0) smooth out highp 4-component vector of float)
700:18        component-wise multiply ( temp highp 4-component vector of float)
710:18          color1: direct index for structure (layout( column_major std430 offset=128) uniform highp 4-component vector of float)
720:18            'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
730:18            Constant:
740:18              2 (const int)
750:18          Function Call: getColor2( ( global highp 4-component vector of float)
760:20      move second child to first child ( temp highp 4-component vector of float)
770:20        gl_Position: direct index for structure ( gl_Position highp 4-component vector of float Position)
780:20          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance,  out 1-element array of float CullDistance gl_CullDistance})
790:20          Constant:
800:20            0 (const uint)
810:20        matrix-times-vector ( temp highp 4-component vector of float)
820:20          uProj: direct index for structure (layout( column_major std430 offset=64) uniform highp 4X4 matrix of float)
830:20            'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
840:20            Constant:
850:20              1 (const int)
860:20          Function Call: getWorld( ( global highp 4-component vector of float)
870:13  Function Definition: getColor2( ( global highp 4-component vector of float)
880:13    Function Parameters:
890:15    Sequence
900:15      Branch: Return with expression
910:15        color2: direct index for structure (layout( column_major std430 offset=144) uniform highp 4-component vector of float)
920:15          'b' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
930:15          Constant:
940:15            3 (const int)
950:18  Function Definition: getWorld( ( global highp 4-component vector of float)
960:18    Function Parameters:
970:20    Sequence
980:20      Branch: Return with expression
990:20        matrix-times-vector ( temp highp 4-component vector of float)
1000:20          uWorld: direct index for structure (layout( column_major std430 offset=0) uniform highp 4X4 matrix of float)
1010:20            'b' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
1020:20            Constant:
1030:20              0 (const int)
1040:20          'P' (layout( location=0) in highp 4-component vector of float)
1050:?   Linker Objects
1060:?     'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
1070:?     'oColor' (layout( location=0) smooth out highp 4-component vector of float)
1080:?     'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance,  out 1-element array of float CullDistance gl_CullDistance})
1090:?     'P' (layout( location=0) in highp 4-component vector of float)
110
111// Module Version 10000
112// Generated by (magic number): 8000b
113// Id's are bound by 53
114
115                              Capability Shader
116               1:             ExtInstImport  "GLSL.std.450"
117                              MemoryModel Logical GLSL450
118                              EntryPoint Vertex 4  "main" 14 31 48
119                              Source GLSL 450
120                              Name 4  "main"
121                              Name 9  "getColor2("
122                              Name 11  "getWorld("
123                              Name 14  "oColor"
124                              Name 16  "PCBlock"
125                              MemberName 16(PCBlock) 0  "uWorld"
126                              MemberName 16(PCBlock) 1  "uProj"
127                              MemberName 16(PCBlock) 2  "color1"
128                              MemberName 16(PCBlock) 3  "color2"
129                              Name 18  "a"
130                              Name 29  "gl_PerVertex"
131                              MemberName 29(gl_PerVertex) 0  "gl_Position"
132                              MemberName 29(gl_PerVertex) 1  "gl_PointSize"
133                              MemberName 29(gl_PerVertex) 2  "gl_ClipDistance"
134                              MemberName 29(gl_PerVertex) 3  "gl_CullDistance"
135                              Name 31  ""
136                              Name 48  "P"
137                              Decorate 14(oColor) Location 0
138                              MemberDecorate 16(PCBlock) 0 ColMajor
139                              MemberDecorate 16(PCBlock) 0 Offset 0
140                              MemberDecorate 16(PCBlock) 0 MatrixStride 16
141                              MemberDecorate 16(PCBlock) 1 ColMajor
142                              MemberDecorate 16(PCBlock) 1 Offset 64
143                              MemberDecorate 16(PCBlock) 1 MatrixStride 16
144                              MemberDecorate 16(PCBlock) 2 Offset 128
145                              MemberDecorate 16(PCBlock) 3 Offset 144
146                              Decorate 16(PCBlock) Block
147                              MemberDecorate 29(gl_PerVertex) 0 BuiltIn Position
148                              MemberDecorate 29(gl_PerVertex) 1 BuiltIn PointSize
149                              MemberDecorate 29(gl_PerVertex) 2 BuiltIn ClipDistance
150                              MemberDecorate 29(gl_PerVertex) 3 BuiltIn CullDistance
151                              Decorate 29(gl_PerVertex) Block
152                              Decorate 48(P) Location 0
153               2:             TypeVoid
154               3:             TypeFunction 2
155               6:             TypeFloat 32
156               7:             TypeVector 6(float) 4
157               8:             TypeFunction 7(fvec4)
158              13:             TypePointer Output 7(fvec4)
159      14(oColor):     13(ptr) Variable Output
160              15:             TypeMatrix 7(fvec4) 4
161     16(PCBlock):             TypeStruct 15 15 7(fvec4) 7(fvec4)
162              17:             TypePointer PushConstant 16(PCBlock)
163           18(a):     17(ptr) Variable PushConstant
164              19:             TypeInt 32 1
165              20:     19(int) Constant 2
166              21:             TypePointer PushConstant 7(fvec4)
167              26:             TypeInt 32 0
168              27:     26(int) Constant 1
169              28:             TypeArray 6(float) 27
17029(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 28 28
171              30:             TypePointer Output 29(gl_PerVertex)
172              31:     30(ptr) Variable Output
173              32:     19(int) Constant 0
174              33:     19(int) Constant 1
175              34:             TypePointer PushConstant 15
176              40:     19(int) Constant 3
177              47:             TypePointer Input 7(fvec4)
178           48(P):     47(ptr) Variable Input
179         4(main):           2 Function None 3
180               5:             Label
181              22:     21(ptr) AccessChain 18(a) 20
182              23:    7(fvec4) Load 22
183              24:    7(fvec4) FunctionCall 9(getColor2()
184              25:    7(fvec4) FMul 23 24
185                              Store 14(oColor) 25
186              35:     34(ptr) AccessChain 18(a) 33
187              36:          15 Load 35
188              37:    7(fvec4) FunctionCall 11(getWorld()
189              38:    7(fvec4) MatrixTimesVector 36 37
190              39:     13(ptr) AccessChain 31 32
191                              Store 39 38
192                              Return
193                              FunctionEnd
194   9(getColor2():    7(fvec4) Function None 8
195              10:             Label
196              41:     21(ptr) AccessChain 18(a) 40
197              42:    7(fvec4) Load 41
198                              ReturnValue 42
199                              FunctionEnd
200   11(getWorld():    7(fvec4) Function None 8
201              12:             Label
202              45:     34(ptr) AccessChain 18(a) 32
203              46:          15 Load 45
204              49:    7(fvec4) Load 48(P)
205              50:    7(fvec4) MatrixTimesVector 46 49
206                              ReturnValue 50
207                              FunctionEnd
208