Initial commit

This commit is contained in:
2025-11-17 10:28:09 +01:00
parent 7bff81691f
commit 6ee36e26be
391 changed files with 110253 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
#version 460
//shared float shareData[1024]; // Shared between all threads in work group.
layout ( local_size_x = 10, local_size_y = 10, local_size_z = 1 ) in;
layout( std430, binding = 0 ) buffer inputBlock {
vec2 array_a[ 100 ];
vec2 array_b[ 100 ];
};
layout( std430, binding = 1 ) buffer outputBlock {
vec2 array_c[ 100 ];
};
void main() {
uint index = gl_LocalInvocationIndex;
vec2 a = array_a[ index ];
vec2 b = array_b[ index ];
array_c[ index ] = a + b;
}