1spv.1.6.samplerBuffer.frag 2// Module Version 10600 3// Generated by (magic number): 8000b 4// Id's are bound by 23 5 6 Capability Shader 7 Capability SampledBuffer 8 Capability ImageQuery 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Fragment 4 "main" 9 13 12 ExecutionMode 4 OriginUpperLeft 13 Source GLSL 140 14 Name 4 "main" 15 Name 9 "o" 16 Name 13 "sampB" 17 Decorate 9(o) Location 0 18 Decorate 13(sampB) Binding 0 19 Decorate 13(sampB) DescriptorSet 0 20 2: TypeVoid 21 3: TypeFunction 2 22 6: TypeFloat 32 23 7: TypeVector 6(float) 4 24 8: TypePointer Output 7(fvec4) 25 9(o): 8(ptr) Variable Output 26 10: TypeInt 32 1 27 11: TypeImage 10(int) Buffer sampled format:Unknown 28 12: TypePointer UniformConstant 11 29 13(sampB): 12(ptr) Variable UniformConstant 30 17: 6(float) Constant 1120403456 31 19: TypeInt 32 0 32 20: 19(int) Constant 3 33 21: TypePointer Output 6(float) 34 4(main): 2 Function None 3 35 5: Label 36 14: 11 Load 13(sampB) 37 15: 10(int) ImageQuerySize 14 38 16: 6(float) ConvertSToF 15 39 18: 6(float) FDiv 16 17 40 22: 21(ptr) AccessChain 9(o) 20 41 Store 22 18 42 Return 43 FunctionEnd 44