blob: c696c52582f876ed7703d503978c3f6cf06c6412 [file] [log] [blame]
steve-lunarg9088be42016-11-01 10:31:42 -06001spv.rw.autoassign.frag
David Neto1ef5e202020-12-15 12:19:00 -05002Validation failed
John Kessenich2b5ea9f2018-01-31 18:35:56 -07003// Module Version 10000
Graeme Leese182ab462020-06-22 11:49:38 +01004// Generated by (magic number): 8000a
John Kessenich02467d82017-01-19 15:41:47 -07005// Id's are bound by 42
steve-lunarg9088be42016-11-01 10:31:42 -06006
7 Capability Shader
John Kessenich260f5062017-08-14 22:10:00 -06008 Capability Image1D
9 Capability ImageBuffer
steve-lunarg9088be42016-11-01 10:31:42 -060010 1: ExtInstImport "GLSL.std.450"
11 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -070012 EntryPoint Fragment 4 "main" 39
steve-lunarg9088be42016-11-01 10:31:42 -060013 ExecutionMode 4 OriginUpperLeft
John Kessenich6fa17642017-04-07 15:33:08 -060014 Source HLSL 500
steve-lunarg9088be42016-11-01 10:31:42 -060015 Name 4 "main"
John Kessenich02467d82017-01-19 15:41:47 -070016 Name 8 "PS_OUTPUT"
17 MemberName 8(PS_OUTPUT) 0 "Color"
18 Name 10 "@main("
19 Name 13 "r00"
20 Name 16 "g_tTex1df1"
21 Name 23 "r01"
22 Name 26 "g_tBuf1du1"
23 Name 30 "psout"
John Kesseniche516d432017-08-09 14:29:29 -060024 Name 39 "@entryPointOutput.Color"
John Kessenich02467d82017-01-19 15:41:47 -070025 Decorate 16(g_tTex1df1) DescriptorSet 0
26 Decorate 16(g_tTex1df1) Binding 20
27 Decorate 26(g_tBuf1du1) DescriptorSet 0
28 Decorate 26(g_tBuf1du1) Binding 21
John Kesseniche516d432017-08-09 14:29:29 -060029 Decorate 39(@entryPointOutput.Color) Location 0
steve-lunarg9088be42016-11-01 10:31:42 -060030 2: TypeVoid
31 3: TypeFunction 2
32 6: TypeFloat 32
John Kessenich02467d82017-01-19 15:41:47 -070033 7: TypeVector 6(float) 4
34 8(PS_OUTPUT): TypeStruct 7(fvec4)
35 9: TypeFunction 8(PS_OUTPUT)
36 12: TypePointer Function 6(float)
37 14: TypeImage 6(float) 1D nonsampled format:R32f
38 15: TypePointer UniformConstant 14
39 16(g_tTex1df1): 15(ptr) Variable UniformConstant
40 18: TypeInt 32 1
41 19: 18(int) Constant 0
42 21: TypeInt 32 0
43 22: TypePointer Function 21(int)
44 24: TypeImage 21(int) Buffer nonsampled format:R32ui
45 25: TypePointer UniformConstant 24
46 26(g_tBuf1du1): 25(ptr) Variable UniformConstant
47 29: TypePointer Function 8(PS_OUTPUT)
48 31: 6(float) Constant 0
49 32: 7(fvec4) ConstantComposite 31 31 31 31
50 33: TypePointer Function 7(fvec4)
51 38: TypePointer Output 7(fvec4)
John Kesseniche516d432017-08-09 14:29:29 -06005239(@entryPointOutput.Color): 38(ptr) Variable Output
steve-lunarg9088be42016-11-01 10:31:42 -060053 4(main): 2 Function None 3
54 5: Label
John Kessenich02467d82017-01-19 15:41:47 -070055 40:8(PS_OUTPUT) FunctionCall 10(@main()
56 41: 7(fvec4) CompositeExtract 40 0
John Kesseniche516d432017-08-09 14:29:29 -060057 Store 39(@entryPointOutput.Color) 41
steve-lunarg9088be42016-11-01 10:31:42 -060058 Return
59 FunctionEnd
John Kessenich02467d82017-01-19 15:41:47 -070060 10(@main():8(PS_OUTPUT) Function None 9
61 11: Label
62 13(r00): 12(ptr) Variable Function
63 23(r01): 22(ptr) Variable Function
64 30(psout): 29(ptr) Variable Function
65 17: 14 Load 16(g_tTex1df1)
66 20: 6(float) ImageRead 17 19
67 Store 13(r00) 20
68 27: 24 Load 26(g_tBuf1du1)
69 28: 21(int) ImageRead 27 19
70 Store 23(r01) 28
71 34: 33(ptr) AccessChain 30(psout) 19
72 Store 34 32
73 35:8(PS_OUTPUT) Load 30(psout)
74 ReturnValue 35
75 FunctionEnd