1spv.rw.autoassign.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 45 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" 42 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 24 "r01" 21 Name 27 "g_tBuf1du1" 22 Name 33 "psout" 23 Name 42 "@entryPointOutput.Color" 24 Decorate 16(g_tTex1df1) Binding 20 25 Decorate 16(g_tTex1df1) DescriptorSet 0 26 Decorate 27(g_tBuf1du1) Binding 21 27 Decorate 27(g_tBuf1du1) DescriptorSet 0 28 Decorate 42(@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 22: TypeInt 32 0 42 23: TypePointer Function 22(int) 43 25: TypeImage 22(int) Buffer nonsampled format:R32ui 44 26: TypePointer UniformConstant 25 45 27(g_tBuf1du1): 26(ptr) Variable UniformConstant 46 29: TypeVector 22(int) 4 47 32: TypePointer Function 8(PS_OUTPUT) 48 34: 6(float) Constant 0 49 35: 7(fvec4) ConstantComposite 34 34 34 34 50 36: TypePointer Function 7(fvec4) 51 41: TypePointer Output 7(fvec4) 5242(@entryPointOutput.Color): 41(ptr) Variable Output 53 4(main): 2 Function None 3 54 5: Label 55 43:8(PS_OUTPUT) FunctionCall 10(@main() 56 44: 7(fvec4) CompositeExtract 43 0 57 Store 42(@entryPointOutput.Color) 44 58 Return 59 FunctionEnd 60 10(@main():8(PS_OUTPUT) Function None 9 61 11: Label 62 13(r00): 12(ptr) Variable Function 63 24(r01): 23(ptr) Variable Function 64 33(psout): 32(ptr) Variable Function 65 17: 14 Load 16(g_tTex1df1) 66 20: 7(fvec4) ImageRead 17 19 67 21: 6(float) CompositeExtract 20 0 68 Store 13(r00) 21 69 28: 25 Load 27(g_tBuf1du1) 70 30: 29(ivec4) ImageRead 28 19 71 31: 22(int) CompositeExtract 30 0 72 Store 24(r01) 31 73 37: 36(ptr) AccessChain 33(psout) 19 74 Store 37 35 75 38:8(PS_OUTPUT) Load 33(psout) 76 ReturnValue 38 77 FunctionEnd 78