• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.register.autoassign.rangetest.frag
2INTERNAL ERROR: mapped binding out of range: g_tSamp
3INTERNAL ERROR: mapped binding out of range: g_tScene
4
5// Module Version 10000
6// Generated by (magic number): 8000b
7// Id's are bound by 52
8
9                              Capability Shader
10               1:             ExtInstImport  "GLSL.std.450"
11                              MemoryModel Logical GLSL450
12                              EntryPoint Fragment 4  "main" 49
13                              ExecutionMode 4 OriginUpperLeft
14                              Source HLSL 500
15                              Name 4  "main"
16                              Name 8  "PS_OUTPUT"
17                              MemberName 8(PS_OUTPUT) 0  "Color"
18                              Name 12  "@main(struct-PS_OUTPUT-vf41;"
19                              Name 11  "psout"
20                              Name 21  "g_tScene"
21                              Name 27  "g_tSamp"
22                              Name 44  "psout"
23                              Name 45  "param"
24                              Name 49  "psout.Color"
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
30               2:             TypeVoid
31               3:             TypeFunction 2
32               6:             TypeFloat 32
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)
37              14:             TypeInt 32 1
38              15:     14(int) Constant 0
39              16:             TypeImage 6(float) 2D sampled format:Unknown
40              17:             TypeInt 32 0
41              18:     17(int) Constant 2
42              19:             TypeArray 16 18
43              20:             TypePointer UniformConstant 19
44    21(g_tScene):     20(ptr) Variable UniformConstant
45              22:             TypePointer UniformConstant 16
46              25:             TypeSampler
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
58               5:             Label
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)
63                              Store 44(psout) 47
64              50:     42(ptr) AccessChain 44(psout) 15
65              51:    7(fvec4) Load 50
66                              Store 49(psout.Color) 51
67                              Return
68                              FunctionEnd
6912(@main(struct-PS_OUTPUT-vf41;):           2 Function None 10
70       11(psout):      9(ptr) FunctionParameter
71              13:             Label
72              23:     22(ptr) AccessChain 21(g_tScene) 15
73              24:          16 Load 23
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
78              37:          16 Load 36
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
84                              Store 43 41
85                              Return
86                              FunctionEnd
87