• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.1.4.OpEntryPoint.opaqueParams.vert
2// Module Version 10400
3// Generated by (magic number): 8000a
4// Id's are bound by 45
5
6                              Capability Shader
7                              Capability ImageQuery
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Vertex 4  "main" 41 42 43
11                              Source GLSL 450
12                              Name 4  "main"
13                              Name 18  "funOpaque(s21;t21;p1;"
14                              Name 15  "s2D"
15                              Name 16  "t2D"
16                              Name 17  "s"
17                              Name 40  "size"
18                              Name 41  "s2D"
19                              Name 42  "t2D"
20                              Name 43  "s"
21                              Decorate 41(s2D) DescriptorSet 0
22                              Decorate 41(s2D) Binding 0
23                              Decorate 42(t2D) DescriptorSet 0
24                              Decorate 42(t2D) Binding 1
25                              Decorate 43(s) DescriptorSet 0
26                              Decorate 43(s) Binding 3
27               2:             TypeVoid
28               3:             TypeFunction 2
29               6:             TypeFloat 32
30               7:             TypeImage 6(float) 2D sampled format:Unknown
31               8:             TypeSampledImage 7
32               9:             TypePointer UniformConstant 8
33              10:             TypePointer UniformConstant 7
34              11:             TypeSampler
35              12:             TypePointer UniformConstant 11
36              13:             TypeVector 6(float) 2
37              14:             TypeFunction 13(fvec2) 9(ptr) 10(ptr) 12(ptr)
38              21:             TypeInt 32 1
39              22:     21(int) Constant 0
40              24:             TypeVector 21(int) 2
41              30:    6(float) Constant 1056964608
42              31:   13(fvec2) ConstantComposite 30 30
43              32:             TypeVector 6(float) 4
44              33:    6(float) Constant 0
45              39:             TypePointer Function 13(fvec2)
46         41(s2D):      9(ptr) Variable UniformConstant
47         42(t2D):     10(ptr) Variable UniformConstant
48           43(s):     12(ptr) Variable UniformConstant
49         4(main):           2 Function None 3
50               5:             Label
51        40(size):     39(ptr) Variable Function
52              44:   13(fvec2) FunctionCall 18(funOpaque(s21;t21;p1;) 41(s2D) 42(t2D) 43(s)
53                              Store 40(size) 44
54                              Return
55                              FunctionEnd
5618(funOpaque(s21;t21;p1;):   13(fvec2) Function None 14
57         15(s2D):      9(ptr) FunctionParameter
58         16(t2D):     10(ptr) FunctionParameter
59           17(s):     12(ptr) FunctionParameter
60              19:             Label
61              20:           8 Load 15(s2D)
62              23:           7 Image 20
63              25:   24(ivec2) ImageQuerySizeLod 23 22
64              26:   13(fvec2) ConvertSToF 25
65              27:           7 Load 16(t2D)
66              28:          11 Load 17(s)
67              29:           8 SampledImage 27 28
68              34:   32(fvec4) ImageSampleExplicitLod 29 31 Lod 33
69              35:   13(fvec2) VectorShuffle 34 34 0 1
70              36:   13(fvec2) FMul 26 35
71                              ReturnValue 36
72                              FunctionEnd
73