blob: 2ee30bc5cb04a249a2fa86b20ace3363263c102c [file] [log] [blame]
steve-lunarg9088be42016-11-01 10:31:42 -06001spv.rw.autoassign.frag
John Kessenich2b5ea9f2018-01-31 18:35:56 -07002// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -06003// Generated by (magic number): 80007
John Kessenich02467d82017-01-19 15:41:47 -07004// Id's are bound by 42
steve-lunarg9088be42016-11-01 10:31:42 -06005
6 Capability Shader
John Kessenich260f5062017-08-14 22:10:00 -06007 Capability Image1D
8 Capability ImageBuffer
steve-lunarg9088be42016-11-01 10:31:42 -06009 1: ExtInstImport "GLSL.std.450"
10 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -070011 EntryPoint Fragment 4 "main" 39
steve-lunarg9088be42016-11-01 10:31:42 -060012 ExecutionMode 4 OriginUpperLeft
John Kessenich6fa17642017-04-07 15:33:08 -060013 Source HLSL 500
steve-lunarg9088be42016-11-01 10:31:42 -060014 Name 4 "main"
John Kessenich02467d82017-01-19 15:41:47 -070015 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"
John Kesseniche516d432017-08-09 14:29:29 -060023 Name 39 "@entryPointOutput.Color"
John Kessenich02467d82017-01-19 15:41:47 -070024 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
John Kesseniche516d432017-08-09 14:29:29 -060028 Decorate 39(@entryPointOutput.Color) Location 0
steve-lunarg9088be42016-11-01 10:31:42 -060029 2: TypeVoid
30 3: TypeFunction 2
31 6: TypeFloat 32
John Kessenich02467d82017-01-19 15:41:47 -070032 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)
John Kesseniche516d432017-08-09 14:29:29 -06005139(@entryPointOutput.Color): 38(ptr) Variable Output
steve-lunarg9088be42016-11-01 10:31:42 -060052 4(main): 2 Function None 3
53 5: Label
John Kessenich02467d82017-01-19 15:41:47 -070054 40:8(PS_OUTPUT) FunctionCall 10(@main()
55 41: 7(fvec4) CompositeExtract 40 0
John Kesseniche516d432017-08-09 14:29:29 -060056 Store 39(@entryPointOutput.Color) 41
steve-lunarg9088be42016-11-01 10:31:42 -060057 Return
58 FunctionEnd
John Kessenich02467d82017-01-19 15:41:47 -070059 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