the beginning of the implementation of Vulkan

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-30 01:35:29 +07:00
parent 1a05d3a6d9
commit 8abdea6b77
9 changed files with 320 additions and 21 deletions
+14
View File
@@ -1,2 +1,16 @@
#version 450
layout(local_size_x = 1) in; // Запускаем 1 поток
layout(std430, binding = 0) buffer InputBuffer {
float a;
float b;
} inputs;
layout(std430, binding = 1) buffer OutputBuffer {
float result;
} outputs;
void main() {
outputs.result = inputs.a * inputs.b;
}