• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.rw.autoassign.frag
2Validation failed
3// Module Version 10000
4// Generated by (magic number): 8000a
5// Id's are bound by 42
6
7                              Capability Shader
8                              Capability Image1D
9                              Capability ImageBuffer
10               1:             ExtInstImport  "GLSL.std.450"
11                              MemoryModel Logical GLSL450
12                              EntryPoint Fragment 4  "main" 39
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 10  "@main("
19                              Name 13  "r00"
20                              Name 16  "g_tTex1df1"
21                              Name 23  "r01"
22                              Name 26  "g_tBuf1du1"
23                              Name 30  "psout"
24                              Name 39  "@entryPointOutput.Color"
25                              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
29                              Decorate 39(@entryPointOutput.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:             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)
5239(@entryPointOutput.Color):     38(ptr) Variable Output
53         4(main):           2 Function None 3
54               5:             Label
55              40:8(PS_OUTPUT) FunctionCall 10(@main()
56              41:    7(fvec4) CompositeExtract 40 0
57                              Store 39(@entryPointOutput.Color) 41
58                              Return
59                              FunctionEnd
60      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
76