1spv.specTexture.frag 2// Module Version 10000 3// Generated by (magic number): 80008 4// Id's are bound by 23 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 9 10 ExecutionMode 4 OriginLowerLeft 11 Source GLSL 450 12 Name 4 "main" 13 Name 9 "color_out" 14 Name 13 "tex" 15 Name 19 "offs" 16 Decorate 9(color_out) Location 0 17 Decorate 13(tex) DescriptorSet 0 18 Decorate 13(tex) Binding 0 19 Decorate 19(offs) SpecId 1 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(color_out): 8(ptr) Variable Output 26 10: TypeImage 6(float) 2D sampled format:Unknown 27 11: TypeSampledImage 10 28 12: TypePointer UniformConstant 11 29 13(tex): 12(ptr) Variable UniformConstant 30 15: TypeVector 6(float) 2 31 16: 6(float) Constant 0 32 17: 15(fvec2) ConstantComposite 16 16 33 18: TypeInt 32 1 34 19(offs): 18(int) SpecConstant 0 35 20: TypeVector 18(int) 2 36 21: 20(ivec2) SpecConstantComposite 19(offs) 19(offs) 37 4(main): 2 Function None 3 38 5: Label 39 14: 11 Load 13(tex) 40 22: 7(fvec4) ImageSampleExplicitLod 14 17 Lod ConstOffset 16 21 41 Store 9(color_out) 22 42 Return 43 FunctionEnd 44