yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
2b7f94a8
16.5.0
1#version 460 2 3#pragma use_vulkan_memory_model 4 5#extension GL_EXT_nontemporal_keyword : require 6 7layout ( binding = 0 ) buffer nontemporal NONTEMPORAL_BUFFER { 8int b_i ; 9int b_o ; 10} ; 11layout ( binding = 1 ) buffer BUFFER_NONTEMPORAL { 12nontemporal int bntemp_i ; 13nontemporal int bntemp_o ; 14} ; 15layout ( binding = 2 ) uniform nontemporal NONTEMPORAL_UNIFORMS { 16ivec2 u_uv ; 17} ; 18layout ( binding = 3 ) buffer nontemporal NONTEMPORAL_ATOMIC { 19int bn_atom ; 20} ; 21layout ( binding = 4 ) buffer ATOMIC_NONTEMPORAL { 22nontemporal int b_natom ; 23int b_atom ; 24} ; 25layout ( binding = 5 , rgba8 ) uniform readonly image2D u_image ; 26 27layout ( location = 0 ) out vec4 out_color ; 28 29void main () { 30b_o = b_i ; 31bntemp_i = bntemp_o ; 32 33atomicAdd ( bn_atom , 1 ) ; 34atomicAdd ( b_natom , 1 ) ; 35atomicAdd ( b_atom , 1 ) ; 36}