• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.functionNestedOpaque.vert
2Validation failed
3// Module Version 10000
4// Generated by (magic number): 8000a
5// Id's are bound by 39
6
7                              Capability Shader
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Vertex 4  "main"
11                              Source GLSL 450
12                              Name 4  "main"
13                              Name 12  "foo(s21;"
14                              Name 11  "t"
15                              Name 14  "S"
16                              MemberName 14(S) 0  "s"
17                              Name 18  "barc(struct-S-s211;"
18                              Name 17  "p"
19                              Name 21  "bar(struct-S-s211;"
20                              Name 20  "p"
21                              Name 36  "si"
22                              Decorate 36(si) DescriptorSet 0
23                              Decorate 36(si) Binding 0
24               2:             TypeVoid
25               3:             TypeFunction 2
26               6:             TypeFloat 32
27               7:             TypeImage 6(float) 2D sampled format:Unknown
28               8:             TypeSampledImage 7
29               9:             TypePointer UniformConstant 8
30              10:             TypeFunction 2 9(ptr)
31           14(S):             TypeStruct 8
32              15:             TypePointer UniformConstant 14(S)
33              16:             TypeFunction 2 15(ptr)
34              24:             TypeVector 6(float) 2
35              25:    6(float) Constant 1056964608
36              26:   24(fvec2) ConstantComposite 25 25
37              27:             TypeVector 6(float) 4
38              28:    6(float) Constant 0
39              30:             TypeInt 32 1
40              31:     30(int) Constant 0
41          36(si):     15(ptr) Variable UniformConstant
42         4(main):           2 Function None 3
43               5:             Label
44              37:           2 FunctionCall 18(barc(struct-S-s211;) 36(si)
45              38:           2 FunctionCall 21(bar(struct-S-s211;) 36(si)
46                              Return
47                              FunctionEnd
48    12(foo(s21;):           2 Function None 10
49           11(t):      9(ptr) FunctionParameter
50              13:             Label
51              23:           8 Load 11(t)
52              29:   27(fvec4) ImageSampleExplicitLod 23 26 Lod 28
53                              Return
54                              FunctionEnd
5518(barc(struct-S-s211;):           2 Function None 16
56           17(p):     15(ptr) FunctionParameter
57              19:             Label
58              32:      9(ptr) AccessChain 17(p) 31
59              33:           2 FunctionCall 12(foo(s21;) 32
60                              Return
61                              FunctionEnd
6221(bar(struct-S-s211;):           2 Function None 16
63           20(p):     15(ptr) FunctionParameter
64              22:             Label
65              34:      9(ptr) AccessChain 20(p) 31
66              35:           2 FunctionCall 12(foo(s21;) 34
67                              Return
68                              FunctionEnd
69