Skip to content
Snippets Groups Projects
Commit 43e4a982 authored by Lars Hoerttrich's avatar Lars Hoerttrich
Browse files

[#92] minor fix

parent 3512ff3a
No related branches found
No related tags found
1 merge request!75Resolve "RTX-Module"
Pipeline #26918 passed
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#include <vector> #include <vector>
#include "vulkan/vulkan.hpp" #include "vulkan/vulkan.hpp"
#include "vkcv/Core.hpp"
namespace vkcv::rtx { namespace vkcv::rtx {
...@@ -41,7 +42,7 @@ namespace vkcv::rtx { ...@@ -41,7 +42,7 @@ namespace vkcv::rtx {
* @param vertexBuffer * @param vertexBuffer
* @param indexBuffer * @param indexBuffer
*/ */
void init(vkcv::Buffer<uint8_t> vertexBuffer, vkcv::Buffer<uint8_t> indexBuffer); void init(Core* core, Buffer<uint8_t> &vertexBuffer, Buffer<uint8_t> &indexBuffer);
}; };
} }
...@@ -22,7 +22,7 @@ namespace vkcv::rtx { ...@@ -22,7 +22,7 @@ namespace vkcv::rtx {
}; };
} }
void RTXModule::init(vkcv::Buffer<uint8_t> vertexBuffer, vkcv::Buffer<uint8_t> indexBuffer) { void RTXModule::init(Core* core, Buffer<uint8_t> &vertexBuffer, Buffer<uint8_t> &indexBuffer) {
// build acceleration structures BLAS then TLAS --> see ASManager // build acceleration structures BLAS then TLAS --> see ASManager
// ASManager asManager(core); // ASManager asManager(core);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment