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