Added tests for shader load data including raw and compiled strings+files

This commit is contained in:
Alejandro Saucedo 2020-08-31 11:47:35 +01:00
parent d7a2d9a34f
commit 782c9f4fe8
6 changed files with 191 additions and 1 deletions

View file

@ -0,0 +1,10 @@
#version 450
layout (local_size_x = 1) in;
layout(set = 0, binding = 0) buffer a { uint pa[]; };
layout(set = 0, binding = 1) buffer b { uint pb[]; };
void main() {
uint index = gl_GlobalInvocationID.x;
pb[index] = pa[index];
pa[index] = index;
}