Path Vulkan

This commit is contained in:
2026-04-30 01:38:14 +07:00
parent 92a595b2f1
commit e214ce10ed
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ double NeuralNetwork::trainVulkan() {
}, {});
// 6. ПАЙПЛАЙН (Загрузка шейдера)
auto shaderCode = readFile("shader.comp.spv"); // Твоя функция чтения файла
auto shaderCode = readFile("Xenith/shader.comp.spv"); // Твоя функция чтения файла
vk::ShaderModule shaderModule = device.createShaderModule({{}, shaderCode.size(), (uint32_t*)shaderCode.data()});
vk::PipelineLayout pipeLayout = device.createPipelineLayout({{}, 1, &dsLayout});