1spv.length.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 33 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 14 26 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 140 12 Name 4 "main" 13 Name 9 "t" 14 Name 14 "v" 15 Name 26 "gl_FragColor" 16 Name 32 "u" 17 Decorate 14(v) Location 0 18 Decorate 26(gl_FragColor) Location 0 19 2: TypeVoid 20 3: TypeFunction 2 21 6: TypeFloat 32 22 7: TypeVector 6(float) 2 23 8: TypePointer Function 7(fvec2) 24 10: TypeInt 32 0 25 11: 10(int) Constant 2 26 12: TypeArray 7(fvec2) 11 27 13: TypePointer Input 12 28 14(v): 13(ptr) Variable Input 29 15: TypeInt 32 1 30 16: 15(int) Constant 0 31 17: TypePointer Input 7(fvec2) 32 20: 15(int) Constant 1 33 24: TypeVector 6(float) 4 34 25: TypePointer Output 24(fvec4) 3526(gl_FragColor): 25(ptr) Variable Output 36 27: 6(float) Constant 1106247680 37 28: 24(fvec4) ConstantComposite 27 27 27 27 38 29: 10(int) Constant 3 39 30: TypeArray 24(fvec4) 29 40 31: TypePointer Private 30 41 32(u): 31(ptr) Variable Private 42 4(main): 2 Function None 3 43 5: Label 44 9(t): 8(ptr) Variable Function 45 18: 17(ptr) AccessChain 14(v) 16 46 19: 7(fvec2) Load 18 47 21: 17(ptr) AccessChain 14(v) 20 48 22: 7(fvec2) Load 21 49 23: 7(fvec2) FAdd 19 22 50 Store 9(t) 23 51 Store 26(gl_FragColor) 28 52 Return 53 FunctionEnd 54