spv.structure.frag WARNING: 0:3: varying deprecated in version 130; may be removed in future release Linked fragment stage: // Module Version 99 // Generated by (magic number): 51a00bb // Id's are bound by 61 Source GLSL 130 Capability Shader 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" ExecutionMode 4 OriginLowerLeft Name 4 "main" Name 8 "scale" Name 18 "lunarStruct1" MemberName 18(lunarStruct1) 0 "i" MemberName 18(lunarStruct1) 1 "f" MemberName 18(lunarStruct1) 2 "color" Name 21 "lunarStruct2" MemberName 21(lunarStruct2) 0 "i" MemberName 21(lunarStruct2) 1 "f" MemberName 21(lunarStruct2) 2 "s1_1" Name 24 "foo2" Name 46 "gl_FragColor" Name 51 "sampler" Name 55 "coord" Name 60 "foo" Decorate 46(gl_FragColor) BuiltIn FragColor Decorate 55(coord) Smooth Decorate 60(foo) NoStaticUse 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: TypePointer Function 6(float) 9: 6(float) Constant 0 10: TypeInt 32 1 11: TypeInt 32 0 12: 11(int) Constant 5 13: TypeArray 10(int) 12 14: 11(int) Constant 4 15: TypeArray 6(float) 14 16: TypeVector 6(float) 4 17: TypeArray 16(fvec4) 12 18(lunarStruct1): TypeStruct 10(int) 15 17 19: 11(int) Constant 7 20: TypeArray 18(lunarStruct1) 19 21(lunarStruct2): TypeStruct 13 6(float) 20 22: TypeArray 21(lunarStruct2) 12 23: TypePointer UniformConstant 22 24(foo2): 23(ptr) Variable UniformConstant 25: 10(int) Constant 3 26: 10(int) Constant 0 27: 10(int) Constant 4 28: TypePointer UniformConstant 10(int) 31: TypeBool 35: 10(int) Constant 2 36: TypePointer UniformConstant 16(fvec4) 41: 10(int) Constant 1 42: TypePointer UniformConstant 6(float) 45: TypePointer Output 16(fvec4) 46(gl_FragColor): 45(ptr) Variable Output 48: TypeImage 6(float) 2D sampled format:Unknown 49: TypeSampledImage 48 50: TypePointer UniformConstant 49 51(sampler): 50(ptr) Variable UniformConstant 53: TypeVector 6(float) 2 54: TypePointer Input 53(fvec2) 55(coord): 54(ptr) Variable Input 59: TypePointer UniformConstant 18(lunarStruct1) 60(foo): 59(ptr) Variable UniformConstant 4(main): 2 Function None 3 5: Label 8(scale): 7(ptr) Variable Function Store 8(scale) 9 29: 28(ptr) AccessChain 24(foo2) 25 26 27 30: 10(int) Load 29 32: 31(bool) SGreaterThan 30 26 SelectionMerge 34 None BranchConditional 32 33 40 33: Label 37: 36(ptr) AccessChain 24(foo2) 25 35 35 35 25 38: 16(fvec4) Load 37 39: 6(float) CompositeExtract 38 0 Store 8(scale) 39 Branch 34 40: Label 43: 42(ptr) AccessChain 24(foo2) 25 35 35 41 25 44: 6(float) Load 43 Store 8(scale) 44 Branch 34 34: Label 47: 6(float) Load 8(scale) 52: 49 Load 51(sampler) 56: 53(fvec2) Load 55(coord) 57: 16(fvec4) ImageSampleImplicitLod 52 56 58: 16(fvec4) VectorTimesScalar 57 47 Store 46(gl_FragColor) 58 Return FunctionEnd