• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.paramMemory.frag
2Validation failed
3// Module Version 10000
4// Generated by (magic number): 80008
5// Id's are bound by 64
6
7                              Capability Shader
8                              Capability StorageImageReadWithoutFormat
9                              Capability StorageImageWriteWithoutFormat
10               1:             ExtInstImport  "GLSL.std.450"
11                              MemoryModel Logical GLSL450
12                              EntryPoint Fragment 4  "main" 27 61
13                              ExecutionMode 4 OriginUpperLeft
14                              Source ESSL 310
15                              Name 4  "main"
16                              Name 16  "image_load(I21;vi2;"
17                              Name 14  "image"
18                              Name 15  "coords"
19                              Name 23  "image_store(I21;vi2;vf4;"
20                              Name 20  "image"
21                              Name 21  "coords"
22                              Name 22  "data"
23                              Name 27  "in_coords"
24                              Name 35  "read1"
25                              Name 38  "read2"
26                              Name 43  "image3"
27                              Name 46  "param"
28                              Name 48  "param"
29                              Name 52  "image4"
30                              Name 56  "param"
31                              Name 58  "param"
32                              Name 61  "out_color"
33                              Decorate 14(image) Coherent
34                              Decorate 14(image) NonWritable
35                              Decorate 20(image) Coherent
36                              Decorate 20(image) NonReadable
37                              Decorate 27(in_coords) Flat
38                              Decorate 27(in_coords) Location 0
39                              Decorate 43(image3) DescriptorSet 0
40                              Decorate 43(image3) Binding 1
41                              Decorate 43(image3) Coherent
42                              Decorate 43(image3) NonReadable
43                              Decorate 52(image4) DescriptorSet 0
44                              Decorate 52(image4) Binding 3
45                              Decorate 52(image4) NonReadable
46                              Decorate 61(out_color) Location 0
47               2:             TypeVoid
48               3:             TypeFunction 2
49               6:             TypeFloat 32
50               7:             TypeImage 6(float) 2D nonsampled format:Unknown
51               8:             TypePointer UniformConstant 7
52               9:             TypeInt 32 1
53              10:             TypeVector 9(int) 2
54              11:             TypePointer Function 10(ivec2)
55              12:             TypeVector 6(float) 4
56              13:             TypeFunction 12(fvec4) 8(ptr) 11(ptr)
57              18:             TypePointer Function 12(fvec4)
58              19:             TypeFunction 2 8(ptr) 11(ptr) 18(ptr)
59              26:             TypePointer Input 10(ivec2)
60   27(in_coords):     26(ptr) Variable Input
61              36:    6(float) Constant 1053609165
62              37:   12(fvec4) ConstantComposite 36 36 36 36
63              39:    6(float) Constant 1056964608
64              40:   12(fvec4) ConstantComposite 39 39 39 39
65              41:             TypeImage 6(float) 2D nonsampled format:Rgba32f
66              42:             TypePointer UniformConstant 41
67      43(image3):     42(ptr) Variable UniformConstant
68              50:             TypeImage 6(float) 2D nonsampled format:Rgba16f
69              51:             TypePointer UniformConstant 50
70      52(image4):     51(ptr) Variable UniformConstant
71              54:    6(float) Constant 1073741824
72              60:             TypePointer Output 12(fvec4)
73   61(out_color):     60(ptr) Variable Output
74              62:    6(float) Constant 0
75              63:   12(fvec4) ConstantComposite 62 62 62 62
76         4(main):           2 Function None 3
77               5:             Label
78       35(read1):     18(ptr) Variable Function
79       38(read2):     18(ptr) Variable Function
80       46(param):     11(ptr) Variable Function
81       48(param):     18(ptr) Variable Function
82       56(param):     11(ptr) Variable Function
83       58(param):     18(ptr) Variable Function
84                              Store 35(read1) 37
85                              Store 38(read2) 40
86              44:   12(fvec4) Load 35(read1)
87              45:   12(fvec4) VectorTimesScalar 44 39
88              47:   10(ivec2) Load 27(in_coords)
89                              Store 46(param) 47
90                              Store 48(param) 45
91              49:           2 FunctionCall 23(image_store(I21;vi2;vf4;) 43(image3) 46(param) 48(param)
92              53:   12(fvec4) Load 38(read2)
93              55:   12(fvec4) VectorTimesScalar 53 54
94              57:   10(ivec2) Load 27(in_coords)
95                              Store 56(param) 57
96                              Store 58(param) 55
97              59:           2 FunctionCall 23(image_store(I21;vi2;vf4;) 52(image4) 56(param) 58(param)
98                              Store 61(out_color) 63
99                              Return
100                              FunctionEnd
10116(image_load(I21;vi2;):   12(fvec4) Function None 13
102       14(image):      8(ptr) FunctionParameter
103      15(coords):     11(ptr) FunctionParameter
104              17:             Label
105              25:           7 Load 14(image)
106              28:   10(ivec2) Load 27(in_coords)
107              29:   12(fvec4) ImageRead 25 28
108                              ReturnValue 29
109                              FunctionEnd
11023(image_store(I21;vi2;vf4;):           2 Function None 19
111       20(image):      8(ptr) FunctionParameter
112      21(coords):     11(ptr) FunctionParameter
113        22(data):     18(ptr) FunctionParameter
114              24:             Label
115              32:           7 Load 20(image)
116              33:   10(ivec2) Load 27(in_coords)
117              34:   12(fvec4) Load 22(data)
118                              ImageWrite 32 33 34
119                              Return
120                              FunctionEnd
121