yum-mirror/glslang

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

Wint3rNightAccumulate nontemporal in CoherentFlags::operator|=4702cf62

main
3.3 KiB63 linesraw
1spv.nontemporalswizzle.frag
2// Module Version 10300
3// Generated by (magic number): 8000b
4// Id's are bound by 28
5
6                              Capability Shader
7                              Capability VulkanMemoryModelKHR
8                              Extension  "SPV_KHR_vulkan_memory_model"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical VulkanKHR
11                              EntryPoint Fragment 4  "main"
12                              ExecutionMode 4 OriginUpperLeft
13                              Source GLSL 460
14                              SourceExtension  "GL_EXT_nontemporal_keyword"
15                              Name 4  "main"
16                              Name 9  "NONTEMPORAL_BLOCK"
17                              MemberName 9(NONTEMPORAL_BLOCK) 0  "blk_in"
18                              MemberName 9(NONTEMPORAL_BLOCK) 1  "blk_out"
19                              Name 11  ""
20                              Name 21  "BLOCK_NONTEMPORAL"
21                              MemberName 21(BLOCK_NONTEMPORAL) 0  "mem_in"
22                              MemberName 21(BLOCK_NONTEMPORAL) 1  "mem_out"
23                              Name 23  ""
24                              Decorate 9(NONTEMPORAL_BLOCK) Block
25                              MemberDecorate 9(NONTEMPORAL_BLOCK) 0 Offset 0
26                              MemberDecorate 9(NONTEMPORAL_BLOCK) 1 Offset 16
27                              Decorate 11 Binding 0
28                              Decorate 11 DescriptorSet 0
29                              Decorate 21(BLOCK_NONTEMPORAL) Block
30                              MemberDecorate 21(BLOCK_NONTEMPORAL) 0 Offset 0
31                              MemberDecorate 21(BLOCK_NONTEMPORAL) 1 Offset 16
32                              Decorate 23 Binding 1
33                              Decorate 23 DescriptorSet 0
34               2:             TypeVoid
35               3:             TypeFunction 2
36               6:             TypeFloat 32
37               7:             TypeVector 6(float) 4
38               8:             TypeVector 6(float) 2
399(NONTEMPORAL_BLOCK):             TypeStruct 7(fvec4) 8(fvec2)
40              10:             TypePointer StorageBuffer 9(NONTEMPORAL_BLOCK)
41              11:     10(ptr) Variable StorageBuffer
42              12:             TypeInt 32 1
43              13:     12(int) Constant 1
44              14:     12(int) Constant 0
45              15:             TypePointer StorageBuffer 7(fvec4)
46              19:             TypePointer StorageBuffer 8(fvec2)
4721(BLOCK_NONTEMPORAL):             TypeStruct 7(fvec4) 8(fvec2)
48              22:             TypePointer StorageBuffer 21(BLOCK_NONTEMPORAL)
49              23:     22(ptr) Variable StorageBuffer
50         4(main):           2 Function None 3
51               5:             Label
52              16:     15(ptr) AccessChain 11 14
53              17:    7(fvec4) Load 16 Nontemporal 
54              18:    8(fvec2) VectorShuffle 17 17 0 1
55              20:     19(ptr) AccessChain 11 13
56                              Store 20 18 Nontemporal 
57              24:     15(ptr) AccessChain 23 14
58              25:    7(fvec4) Load 24 Nontemporal 
59              26:    8(fvec2) VectorShuffle 25 25 2 3
60              27:     19(ptr) AccessChain 23 13
61                              Store 27 26
62                              Return
63                              FunctionEnd