1 spv.register.autoassign.rangetest.frag
2 INTERNAL ERROR: mapped binding out of range: g_tSamp
3 INTERNAL ERROR: mapped binding out of range: g_tScene
5 // Module Version 10000
6 // Generated by (magic number): 8000a
7 // Id's are bound by 52
10 1: ExtInstImport "GLSL.std.450"
11 MemoryModel Logical GLSL450
12 EntryPoint Fragment 4 "main" 49
13 ExecutionMode 4 OriginUpperLeft
17 MemberName 8(PS_OUTPUT) 0 "Color"
18 Name 12 "@main(struct-PS_OUTPUT-vf41;"
25 Decorate 21(g_tScene) DescriptorSet 0
26 Decorate 21(g_tScene) Binding 5
27 Decorate 27(g_tSamp) DescriptorSet 0
28 Decorate 27(g_tSamp) Binding 5
29 Decorate 49(psout.Color) Location 0
33 7: TypeVector 6(float) 4
34 8(PS_OUTPUT): TypeStruct 7(fvec4)
35 9: TypePointer Function 8(PS_OUTPUT)
36 10: TypeFunction 2 9(ptr)
38 15: 14(int) Constant 0
39 16: TypeImage 6(float) 2D sampled format:Unknown
41 18: 17(int) Constant 2
43 20: TypePointer UniformConstant 19
44 21(g_tScene): 20(ptr) Variable UniformConstant
45 22: TypePointer UniformConstant 16
47 26: TypePointer UniformConstant 25
48 27(g_tSamp): 26(ptr) Variable UniformConstant
49 29: TypeSampledImage 16
50 31: TypeVector 6(float) 2
51 32: 6(float) Constant 1050253722
52 33: 31(fvec2) ConstantComposite 32 32
53 35: 14(int) Constant 1
54 42: TypePointer Function 7(fvec4)
55 48: TypePointer Output 7(fvec4)
56 49(psout.Color): 48(ptr) Variable Output
57 4(main): 2 Function None 3
59 44(psout): 9(ptr) Variable Function
60 45(param): 9(ptr) Variable Function
61 46: 2 FunctionCall 12(@main(struct-PS_OUTPUT-vf41;) 45(param)
62 47:8(PS_OUTPUT) Load 45(param)
64 50: 42(ptr) AccessChain 44(psout) 15
66 Store 49(psout.Color) 51
69 12(@main(struct-PS_OUTPUT-vf41;): 2 Function None 10
70 11(psout): 9(ptr) FunctionParameter
72 23: 22(ptr) AccessChain 21(g_tScene) 15
74 28: 25 Load 27(g_tSamp)
75 30: 29 SampledImage 24 28
76 34: 7(fvec4) ImageSampleImplicitLod 30 33
77 36: 22(ptr) AccessChain 21(g_tScene) 35
79 38: 25 Load 27(g_tSamp)
80 39: 29 SampledImage 37 38
81 40: 7(fvec4) ImageSampleImplicitLod 39 33
82 41: 7(fvec4) FAdd 34 40
83 43: 42(ptr) AccessChain 11(psout) 15