1spv.functionNestedOpaque.vert 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 80008 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 2: TypeVoid 23 3: TypeFunction 2 24 6: TypeFloat 32 25 7: TypeImage 6(float) 2D sampled format:Unknown 26 8: TypeSampledImage 7 27 9: TypePointer UniformConstant 8 28 10: TypeFunction 2 9(ptr) 29 14(S): TypeStruct 8 30 15: TypePointer UniformConstant 14(S) 31 16: TypeFunction 2 15(ptr) 32 24: TypeVector 6(float) 2 33 25: 6(float) Constant 1056964608 34 26: 24(fvec2) ConstantComposite 25 25 35 27: TypeVector 6(float) 4 36 28: 6(float) Constant 0 37 30: TypeInt 32 1 38 31: 30(int) Constant 0 39 36(si): 15(ptr) Variable UniformConstant 40 4(main): 2 Function None 3 41 5: Label 42 37: 2 FunctionCall 18(barc(struct-S-s211;) 36(si) 43 38: 2 FunctionCall 21(bar(struct-S-s211;) 36(si) 44 Return 45 FunctionEnd 46 12(foo(s21;): 2 Function None 10 47 11(t): 9(ptr) FunctionParameter 48 13: Label 49 23: 8 Load 11(t) 50 29: 27(fvec4) ImageSampleExplicitLod 23 26 Lod 28 51 Return 52 FunctionEnd 5318(barc(struct-S-s211;): 2 Function None 16 54 17(p): 15(ptr) FunctionParameter 55 19: Label 56 32: 9(ptr) AccessChain 17(p) 31 57 33: 2 FunctionCall 12(foo(s21;) 32 58 Return 59 FunctionEnd 6021(bar(struct-S-s211;): 2 Function None 16 61 20(p): 15(ptr) FunctionParameter 62 22: Label 63 34: 9(ptr) AccessChain 20(p) 31 64 35: 2 FunctionCall 12(foo(s21;) 34 65 Return 66 FunctionEnd 67