bugfixes
This commit is contained in:
parent
d29f5609cd
commit
d840a81448
5 changed files with 45 additions and 36 deletions
|
|
@ -35,13 +35,13 @@ export namespace Crafter {
|
|||
VulkanBuffer<char, false> buffer;
|
||||
VkAccelerationStructureKHR accelerationStructure;
|
||||
VulkanBuffer<VkAccelerationStructureInstanceKHR, true> instanceBuffer;
|
||||
VulkanBuffer<char, false> scratchBuffer;
|
||||
};
|
||||
|
||||
class RenderingElement3D {
|
||||
public:
|
||||
VkAccelerationStructureInstanceKHR instance;
|
||||
static std::vector<RenderingElement3D*> elements;
|
||||
inline static VulkanBuffer<char, false> scratchBuffer;
|
||||
inline static TlasWithBuffer tlases[Window::numFrames];
|
||||
static void BuildTLAS(VkCommandBuffer cmd, std::uint32_t index);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue