yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Karen WebbAdd more nontemporal tests2b7f94a8

main
5.2 KiB98 linesraw
1spv.1.6.nontemporalimage.frag
2// Module Version 10600
3// Generated by (magic number): 8000b
4// Id's are bound by 54
5
6                              Capability Shader
7                              Capability VulkanMemoryModelKHR
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical VulkanKHR
10                              EntryPoint Fragment 4  "main" 22 36 43 49 51
11                              ExecutionMode 4 OriginUpperLeft
12                              Source GLSL 460
13                              SourceExtension  "GL_EXT_nontemporal_keyword"
14                              Name 4  "main"
15                              Name 11  "function_accepting_nontemporal(I21;"
16                              Name 10  "image"
17                              Name 14  "function_not_accepting_nontemporal(I21;"
18                              Name 13  "image"
19                              Name 19  "uv"
20                              Name 22  "in_uv"
21                              Name 36  "u_nontempimage"
22                              Name 43  "u_image"
23                              Name 49  "u_nontempnoformatimage"
24                              Name 51  "u_noformatimage"
25                              Decorate 10(image) NonReadable
26                              Decorate 13(image) NonReadable
27                              Decorate 22(in_uv) Location 0
28                              Decorate 36(u_nontempimage) Binding 1
29                              Decorate 36(u_nontempimage) DescriptorSet 0
30                              Decorate 43(u_image) Binding 2
31                              Decorate 43(u_image) DescriptorSet 0
32                              Decorate 49(u_nontempnoformatimage) NonReadable
33                              Decorate 49(u_nontempnoformatimage) Binding 3
34                              Decorate 49(u_nontempnoformatimage) DescriptorSet 0
35                              Decorate 51(u_noformatimage) NonReadable
36                              Decorate 51(u_noformatimage) Binding 4
37                              Decorate 51(u_noformatimage) DescriptorSet 0
38               2:             TypeVoid
39               3:             TypeFunction 2
40               6:             TypeFloat 32
41               7:             TypeImage 6(float) 2D nonsampled format:Unknown
42               8:             TypePointer UniformConstant 7
43               9:             TypeFunction 2 8(ptr)
44              16:             TypeInt 32 1
45              17:             TypeVector 16(int) 2
46              18:             TypePointer Function 17(ivec2)
47              20:             TypeVector 6(float) 2
48              21:             TypePointer Input 20(fvec2)
49       22(in_uv):     21(ptr) Variable Input
50              23:             TypeInt 32 0
51              24:     23(int) Constant 0
52              25:             TypePointer Input 6(float)
53              29:     23(int) Constant 1
54              34:             TypeImage 6(float) 2D nonsampled format:Rgba8
55              35:             TypePointer UniformConstant 34
5636(u_nontempimage):     35(ptr) Variable UniformConstant
57              41:             TypeVector 6(float) 4
58     43(u_image):     35(ptr) Variable UniformConstant
5949(u_nontempnoformatimage):      8(ptr) Variable UniformConstant
6051(u_noformatimage):      8(ptr) Variable UniformConstant
61         4(main):           2 Function None 3
62               5:             Label
63          19(uv):     18(ptr) Variable Function
64              26:     25(ptr) AccessChain 22(in_uv) 24
65              27:    6(float) Load 26
66              28:     16(int) ConvertFToS 27
67              30:     25(ptr) AccessChain 22(in_uv) 29
68              31:    6(float) Load 30
69              32:     16(int) ConvertFToS 31
70              33:   17(ivec2) CompositeConstruct 28 32
71                              Store 19(uv) 33
72              37:          34 Load 36(u_nontempimage)
73              38:   17(ivec2) Load 19(uv)
74              39:          34 Load 36(u_nontempimage)
75              40:   17(ivec2) Load 19(uv)
76              42:   41(fvec4) ImageRead 39 40 Nontemporal 
77                              ImageWrite 37 38 42 Nontemporal 
78              44:          34 Load 43(u_image)
79              45:   17(ivec2) Load 19(uv)
80              46:          34 Load 43(u_image)
81              47:   17(ivec2) Load 19(uv)
82              48:   41(fvec4) ImageRead 46 47
83                              ImageWrite 44 45 48
84              50:           2 FunctionCall 11(function_accepting_nontemporal(I21;) 49(u_nontempnoformatimage)
85              52:           2 FunctionCall 11(function_accepting_nontemporal(I21;) 51(u_noformatimage)
86              53:           2 FunctionCall 14(function_not_accepting_nontemporal(I21;) 51(u_noformatimage)
87                              Return
88                              FunctionEnd
8911(function_accepting_nontemporal(I21;):           2 Function None 9
90       10(image):      8(ptr) FunctionParameter
91              12:             Label
92                              Return
93                              FunctionEnd
9414(function_not_accepting_nontemporal(I21;):           2 Function None 9
95       13(image):      8(ptr) FunctionParameter
96              15:             Label
97                              Return
98                              FunctionEnd