1hlsl.noSemantic.functionality1.comp 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 30 5 6 Capability Shader 7 Extension "SPV_GOOGLE_hlsl_functionality1" 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint GLCompute 4 "main" 11 ExecutionMode 4 LocalSize 1 1 1 12 Source HLSL 500 13 Name 4 "main" 14 Name 6 "@main(" 15 Name 11 "Buf" 16 MemberName 11(Buf) 0 "@data" 17 Name 13 "Buf" 18 Name 17 "Buf@count" 19 MemberName 17(Buf@count) 0 "@count" 20 Name 19 "Buf@count" 21 Decorate 10 ArrayStride 16 22 MemberDecorate 11(Buf) 0 Offset 0 23 Decorate 11(Buf) BufferBlock 24 Decorate 13(Buf) DescriptorSet 0 25 Decorate 13(Buf) Binding 0 26 MemberDecorate 17(Buf@count) 0 Offset 0 27 Decorate 17(Buf@count) BufferBlock 28 Decorate 19(Buf@count) DescriptorSet 0 29 Decorate 19(Buf@count) Binding 0 30 DecorateId 13(Buf) DecorationHlslCounterBufferGOOGLE 19(Buf@count) 31 2: TypeVoid 32 3: TypeFunction 2 33 8: TypeFloat 32 34 9: TypeVector 8(float) 4 35 10: TypeRuntimeArray 9(fvec4) 36 11(Buf): TypeStruct 10 37 12: TypePointer Uniform 11(Buf) 38 13(Buf): 12(ptr) Variable Uniform 39 14: TypeInt 32 1 40 15: 14(int) Constant 0 41 16: TypeInt 32 0 42 17(Buf@count): TypeStruct 16(int) 43 18: TypePointer Uniform 17(Buf@count) 44 19(Buf@count): 18(ptr) Variable Uniform 45 20: TypePointer Uniform 16(int) 46 22: 16(int) Constant 1 47 23: 16(int) Constant 0 48 25: 8(float) Constant 1065353216 49 26: 9(fvec4) ConstantComposite 25 25 25 25 50 27: TypePointer Uniform 9(fvec4) 51 4(main): 2 Function None 3 52 5: Label 53 29: 2 FunctionCall 6(@main() 54 Return 55 FunctionEnd 56 6(@main(): 2 Function None 3 57 7: Label 58 21: 20(ptr) AccessChain 19(Buf@count) 15 59 24: 16(int) AtomicIAdd 21 22 23 22 60 28: 27(ptr) AccessChain 13(Buf) 15 24 61 Store 28 26 62 Return 63 FunctionEnd 64