yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
4702cf62
main-tot
1#version 460 2 3#pragma use_vulkan_memory_model 4 5#extension GL_EXT_nontemporal_keyword : require 6 7// Reading a nontemporal value through a swizzle. The flag is carried on the 8// access chain, and pushing the swizzle onto that chain must combine the two 9// sets of flags rather than replace them. Both loads below must therefore 10// carry the Nontemporal memory operand. 11layout ( binding = 0 ) buffer nontemporal NONTEMPORAL_BLOCK { 12vec4 blk_in ; 13vec2 blk_out ; 14} ; 15 16layout ( binding = 1 ) buffer BLOCK_NONTEMPORAL { 17nontemporal vec4 mem_in ; 18vec2 mem_out ; 19} ; 20 21void main () { 22blk_out = blk_in . xy ; 23mem_out = mem_in . zw ; 24}