mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-24 04:04:58 +00:00
2b5ea9f851
Fixes #1236.
89 lines
4.4 KiB
Plaintext
Executable File
89 lines
4.4 KiB
Plaintext
Executable File
spv.ssboAlias.frag
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80003
|
|
// Id's are bound by 46
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 43
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Source HLSL 500
|
|
Name 4 "main"
|
|
Name 9 "@main("
|
|
Name 13 "Buf1"
|
|
MemberName 13(Buf1) 0 "@data"
|
|
Name 15 "Buf1"
|
|
Name 18 "Buf1@count"
|
|
MemberName 18(Buf1@count) 0 "@count"
|
|
Name 20 "Buf1@count"
|
|
Name 30 "Buf2"
|
|
Name 31 "Buf2@count"
|
|
Name 43 "@entryPointOutput"
|
|
Name 45 "Buf3"
|
|
Decorate 12 ArrayStride 4
|
|
MemberDecorate 13(Buf1) 0 Offset 0
|
|
Decorate 13(Buf1) BufferBlock
|
|
Decorate 15(Buf1) DescriptorSet 0
|
|
Decorate 15(Buf1) Binding 84
|
|
MemberDecorate 18(Buf1@count) 0 Offset 0
|
|
Decorate 18(Buf1@count) BufferBlock
|
|
Decorate 20(Buf1@count) DescriptorSet 0
|
|
Decorate 20(Buf1@count) Binding 83
|
|
Decorate 30(Buf2) DescriptorSet 0
|
|
Decorate 30(Buf2) Binding 85
|
|
Decorate 31(Buf2@count) DescriptorSet 0
|
|
Decorate 31(Buf2@count) Binding 86
|
|
Decorate 43(@entryPointOutput) Location 0
|
|
Decorate 45(Buf3) DescriptorSet 0
|
|
Decorate 45(Buf3) Binding 84
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypeVector 6(float) 4
|
|
8: TypeFunction 7(fvec4)
|
|
11: TypeInt 32 0
|
|
12: TypeRuntimeArray 11(int)
|
|
13(Buf1): TypeStruct 12
|
|
14: TypePointer Uniform 13(Buf1)
|
|
15(Buf1): 14(ptr) Variable Uniform
|
|
16: TypeInt 32 1
|
|
17: 16(int) Constant 0
|
|
18(Buf1@count): TypeStruct 16(int)
|
|
19: TypePointer Uniform 18(Buf1@count)
|
|
20(Buf1@count): 19(ptr) Variable Uniform
|
|
21: TypePointer Uniform 16(int)
|
|
23: 16(int) Constant 1
|
|
24: 11(int) Constant 1
|
|
25: 11(int) Constant 0
|
|
27: 11(int) Constant 10
|
|
28: TypePointer Uniform 11(int)
|
|
30(Buf2): 14(ptr) Variable Uniform
|
|
31(Buf2@count): 19(ptr) Variable Uniform
|
|
34: 11(int) Constant 20
|
|
36: 6(float) Constant 1065353216
|
|
37: 6(float) Constant 1077936128
|
|
38: 6(float) Constant 1084227584
|
|
39: 7(fvec4) ConstantComposite 36 37 38 36
|
|
42: TypePointer Output 7(fvec4)
|
|
43(@entryPointOutput): 42(ptr) Variable Output
|
|
45(Buf3): 14(ptr) Variable Uniform
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
44: 7(fvec4) FunctionCall 9(@main()
|
|
Store 43(@entryPointOutput) 44
|
|
Return
|
|
FunctionEnd
|
|
9(@main(): 7(fvec4) Function None 8
|
|
10: Label
|
|
22: 21(ptr) AccessChain 20(Buf1@count) 17
|
|
26: 11(int) AtomicIAdd 22 24 25 23
|
|
29: 28(ptr) AccessChain 15(Buf1) 17 26
|
|
Store 29 27
|
|
32: 21(ptr) AccessChain 31(Buf2@count) 17
|
|
33: 11(int) AtomicIAdd 32 24 25 23
|
|
35: 28(ptr) AccessChain 30(Buf2) 17 33
|
|
Store 35 34
|
|
ReturnValue 39
|
|
FunctionEnd
|