Added tests for shader load data including raw and compiled strings+files
This commit is contained in:
parent
d7a2d9a34f
commit
782c9f4fe8
6 changed files with 191 additions and 1 deletions
10
test/shaders/glsl/test_op_custom_shader.comp
Normal file
10
test/shaders/glsl/test_op_custom_shader.comp
Normal 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;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue