implemented basic shader expressions

This commit is contained in:
Dynamitos committed 2023-02-24 22:09:07 +01:00
1 parent 48fa098546
commit f46262b66e
67 files changed
+1390 -852

No files matched your search

+1 -1
View File
@@ -235,7 +235,7 @@ void *ShaderBuffer::lockRegion(uint64 regionOffset, uint64 regionSize, bool bWri
graphics->getQueueCommands(owner)->submitCommands();
vkQueueWaitIdle(graphics->getQueueCommands(owner)->getQueue()->getHandle());
stagingBuffer->getMappedPointer(); // this maps the memory if not mapped already
stagingBuffer->flushMappedMemory();
pending.stagingBuffer = stagingBuffer;