• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.set.vert
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 22
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main" 9
10                              Source GLSL 450
11                              Name 4  "main"
12                              Name 9  "color"
13                              Name 10  "setBuf"
14                              MemberName 10(setBuf) 0  "color"
15                              Name 12  "setBufInst"
16                              Name 21  "samp2D"
17                              Decorate 9(color) Location 0
18                              MemberDecorate 10(setBuf) 0 Offset 0
19                              Decorate 10(setBuf) BufferBlock
20                              Decorate 12(setBufInst) DescriptorSet 0
21                              Decorate 12(setBufInst) Binding 8
22                              Decorate 21(samp2D) DescriptorSet 4
23                              Decorate 21(samp2D) Binding 7
24               2:             TypeVoid
25               3:             TypeFunction 2
26               6:             TypeFloat 32
27               7:             TypeVector 6(float) 4
28               8:             TypePointer Output 7(fvec4)
29        9(color):      8(ptr) Variable Output
30      10(setBuf):             TypeStruct 7(fvec4)
31              11:             TypePointer Uniform 10(setBuf)
32  12(setBufInst):     11(ptr) Variable Uniform
33              13:             TypeInt 32 1
34              14:     13(int) Constant 0
35              15:             TypePointer Uniform 7(fvec4)
36              18:             TypeImage 6(float) 2D sampled format:Unknown
37              19:             TypeSampledImage 18
38              20:             TypePointer UniformConstant 19
39      21(samp2D):     20(ptr) Variable UniformConstant
40         4(main):           2 Function None 3
41               5:             Label
42              16:     15(ptr) AccessChain 12(setBufInst) 14
43              17:    7(fvec4) Load 16
44                              Store 9(color) 17
45                              Return
46                              FunctionEnd
47