1spv.rw.autoassign.frag
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 42
5
6                              Capability Shader
7                              Capability Image1D
8                              Capability ImageBuffer
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 4  "main" 39
12                              ExecutionMode 4 OriginUpperLeft
13                              Source HLSL 500
14                              Name 4  "main"
15                              Name 8  "PS_OUTPUT"
16                              MemberName 8(PS_OUTPUT) 0  "Color"
17                              Name 10  "@main("
18                              Name 13  "r00"
19                              Name 16  "g_tTex1df1"
20                              Name 23  "r01"
21                              Name 26  "g_tBuf1du1"
22                              Name 30  "psout"
23                              Name 39  "@entryPointOutput.Color"
24                              Decorate 16(g_tTex1df1) DescriptorSet 0
25                              Decorate 16(g_tTex1df1) Binding 20
26                              Decorate 26(g_tBuf1du1) DescriptorSet 0
27                              Decorate 26(g_tBuf1du1) Binding 21
28                              Decorate 39(@entryPointOutput.Color) Location 0
29               2:             TypeVoid
30               3:             TypeFunction 2
31               6:             TypeFloat 32
32               7:             TypeVector 6(float) 4
33    8(PS_OUTPUT):             TypeStruct 7(fvec4)
34               9:             TypeFunction 8(PS_OUTPUT)
35              12:             TypePointer Function 6(float)
36              14:             TypeImage 6(float) 1D nonsampled format:R32f
37              15:             TypePointer UniformConstant 14
38  16(g_tTex1df1):     15(ptr) Variable UniformConstant
39              18:             TypeInt 32 1
40              19:     18(int) Constant 0
41              21:             TypeInt 32 0
42              22:             TypePointer Function 21(int)
43              24:             TypeImage 21(int) Buffer nonsampled format:R32ui
44              25:             TypePointer UniformConstant 24
45  26(g_tBuf1du1):     25(ptr) Variable UniformConstant
46              29:             TypePointer Function 8(PS_OUTPUT)
47              31:    6(float) Constant 0
48              32:    7(fvec4) ConstantComposite 31 31 31 31
49              33:             TypePointer Function 7(fvec4)
50              38:             TypePointer Output 7(fvec4)
5139(@entryPointOutput.Color):     38(ptr) Variable Output
52         4(main):           2 Function None 3
53               5:             Label
54              40:8(PS_OUTPUT) FunctionCall 10(@main()
55              41:    7(fvec4) CompositeExtract 40 0
56                              Store 39(@entryPointOutput.Color) 41
57                              Return
58                              FunctionEnd
59      10(@main():8(PS_OUTPUT) Function None 9
60              11:             Label
61         13(r00):     12(ptr) Variable Function
62         23(r01):     22(ptr) Variable Function
63       30(psout):     29(ptr) Variable Function
64              17:          14 Load 16(g_tTex1df1)
65              20:    6(float) ImageRead 17 19
66                              Store 13(r00) 20
67              27:          24 Load 26(g_tBuf1du1)
68              28:     21(int) ImageRead 27 19
69                              Store 23(r01) 28
70              34:     33(ptr) AccessChain 30(psout) 19
71                              Store 34 32
72              35:8(PS_OUTPUT) Load 30(psout)
73                              ReturnValue 35
74                              FunctionEnd
75