spv.texture_implicit.comp // Module Version 10300 // Generated by (magic number): 8000b // Id's are bound by 47 Capability Shader 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint GLCompute 4 "main" 37 ExecutionMode 4 LocalSize 3 3 1 Source GLSL 460 Name 4 "main" Name 9 "texCoords" Name 11 "PCBlock" MemberName 11(PCBlock) 0 "coords" MemberName 11(PCBlock) 1 "size" MemberName 11(PCBlock) 2 "lod" Name 13 "pc" Name 21 "pixel" Name 25 "inTex" Name 32 "outColor" Name 37 "gl_LocalInvocationID" Decorate 11(PCBlock) Block MemberDecorate 11(PCBlock) 0 Offset 0 MemberDecorate 11(PCBlock) 1 Offset 16 MemberDecorate 11(PCBlock) 2 Offset 24 Decorate 25(inTex) Binding 0 Decorate 25(inTex) DescriptorSet 0 Decorate 32(outColor) Binding 2 Decorate 32(outColor) DescriptorSet 0 Decorate 37(gl_LocalInvocationID) BuiltIn LocalInvocationId Decorate 46 BuiltIn WorkgroupSize 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: TypeVector 6(float) 2 8: TypePointer Function 7(fvec2) 10: TypeVector 6(float) 4 11(PCBlock): TypeStruct 10(fvec4) 7(fvec2) 6(float) 12: TypePointer PushConstant 11(PCBlock) 13(pc): 12(ptr) Variable PushConstant 14: TypeInt 32 1 15: 14(int) Constant 0 16: TypePointer PushConstant 10(fvec4) 20: TypePointer Function 10(fvec4) 22: TypeImage 6(float) 2D sampled format:Unknown 23: TypeSampledImage 22 24: TypePointer UniformConstant 23 25(inTex): 24(ptr) Variable UniformConstant 28: 6(float) Constant 0 30: TypeImage 6(float) 2D nonsampled format:Rgba8 31: TypePointer UniformConstant 30 32(outColor): 31(ptr) Variable UniformConstant 34: TypeInt 32 0 35: TypeVector 34(int) 3 36: TypePointer Input 35(ivec3) 37(gl_LocalInvocationID): 36(ptr) Variable Input 38: TypeVector 34(int) 2 41: TypeVector 14(int) 2 44: 34(int) Constant 3 45: 34(int) Constant 1 46: 35(ivec3) ConstantComposite 44 44 45 4(main): 2 Function None 3 5: Label 9(texCoords): 8(ptr) Variable Function 21(pixel): 20(ptr) Variable Function 17: 16(ptr) AccessChain 13(pc) 15 18: 10(fvec4) Load 17 19: 7(fvec2) VectorShuffle 18 18 0 1 Store 9(texCoords) 19 26: 23 Load 25(inTex) 27: 7(fvec2) Load 9(texCoords) 29: 10(fvec4) ImageSampleExplicitLod 26 27 Lod 28 Store 21(pixel) 29 33: 30 Load 32(outColor) 39: 35(ivec3) Load 37(gl_LocalInvocationID) 40: 38(ivec2) VectorShuffle 39 39 0 1 42: 41(ivec2) Bitcast 40 43: 10(fvec4) Load 21(pixel) ImageWrite 33 42 43 Return FunctionEnd