xemu/subprojects/glslang/Test/baseResults/spv.1.6.nontemporalimage.fr...

99 lines
5.2 KiB
Plaintext

spv.1.6.nontemporalimage.frag
// Module Version 10600
// Generated by (magic number): 8000b
// Id's are bound by 54
Capability Shader
Capability VulkanMemoryModelKHR
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical VulkanKHR
EntryPoint Fragment 4 "main" 22 36 43 49 51
ExecutionMode 4 OriginUpperLeft
Source GLSL 460
SourceExtension "GL_EXT_nontemporal_keyword"
Name 4 "main"
Name 11 "function_accepting_nontemporal(I21;"
Name 10 "image"
Name 14 "function_not_accepting_nontemporal(I21;"
Name 13 "image"
Name 19 "uv"
Name 22 "in_uv"
Name 36 "u_nontempimage"
Name 43 "u_image"
Name 49 "u_nontempnoformatimage"
Name 51 "u_noformatimage"
Decorate 10(image) NonReadable
Decorate 13(image) NonReadable
Decorate 22(in_uv) Location 0
Decorate 36(u_nontempimage) Binding 1
Decorate 36(u_nontempimage) DescriptorSet 0
Decorate 43(u_image) Binding 2
Decorate 43(u_image) DescriptorSet 0
Decorate 49(u_nontempnoformatimage) NonReadable
Decorate 49(u_nontempnoformatimage) Binding 3
Decorate 49(u_nontempnoformatimage) DescriptorSet 0
Decorate 51(u_noformatimage) NonReadable
Decorate 51(u_noformatimage) Binding 4
Decorate 51(u_noformatimage) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeImage 6(float) 2D nonsampled format:Unknown
8: TypePointer UniformConstant 7
9: TypeFunction 2 8(ptr)
16: TypeInt 32 1
17: TypeVector 16(int) 2
18: TypePointer Function 17(ivec2)
20: TypeVector 6(float) 2
21: TypePointer Input 20(fvec2)
22(in_uv): 21(ptr) Variable Input
23: TypeInt 32 0
24: 23(int) Constant 0
25: TypePointer Input 6(float)
29: 23(int) Constant 1
34: TypeImage 6(float) 2D nonsampled format:Rgba8
35: TypePointer UniformConstant 34
36(u_nontempimage): 35(ptr) Variable UniformConstant
41: TypeVector 6(float) 4
43(u_image): 35(ptr) Variable UniformConstant
49(u_nontempnoformatimage): 8(ptr) Variable UniformConstant
51(u_noformatimage): 8(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
19(uv): 18(ptr) Variable Function
26: 25(ptr) AccessChain 22(in_uv) 24
27: 6(float) Load 26
28: 16(int) ConvertFToS 27
30: 25(ptr) AccessChain 22(in_uv) 29
31: 6(float) Load 30
32: 16(int) ConvertFToS 31
33: 17(ivec2) CompositeConstruct 28 32
Store 19(uv) 33
37: 34 Load 36(u_nontempimage)
38: 17(ivec2) Load 19(uv)
39: 34 Load 36(u_nontempimage)
40: 17(ivec2) Load 19(uv)
42: 41(fvec4) ImageRead 39 40 Nontemporal
ImageWrite 37 38 42 Nontemporal
44: 34 Load 43(u_image)
45: 17(ivec2) Load 19(uv)
46: 34 Load 43(u_image)
47: 17(ivec2) Load 19(uv)
48: 41(fvec4) ImageRead 46 47
ImageWrite 44 45 48
50: 2 FunctionCall 11(function_accepting_nontemporal(I21;) 49(u_nontempnoformatimage)
52: 2 FunctionCall 11(function_accepting_nontemporal(I21;) 51(u_noformatimage)
53: 2 FunctionCall 14(function_not_accepting_nontemporal(I21;) 51(u_noformatimage)
Return
FunctionEnd
11(function_accepting_nontemporal(I21;): 2 Function None 9
10(image): 8(ptr) FunctionParameter
12: Label
Return
FunctionEnd
14(function_not_accepting_nontemporal(I21;): 2 Function None 9
13(image): 8(ptr) FunctionParameter
15: Label
Return
FunctionEnd