[idd] driver: very experimental change to syncronization
This may get reverted, at this point it's an experiment for the testers to trial.
This commit is contained in:
1 parent
7afb9b93eb
commit
b58171c3e1
10 files changed
+137
-40
No files matched your search
@@ -2,8 +2,10 @@
|
||||
#include "CSwapChainProcessor.h"
|
||||
#include "CDebug.h"
|
||||
|
||||
bool CFrameBufferResource::Init(CSwapChainProcessor * swapChain, uint8_t * base, size_t size)
|
||||
bool CFrameBufferResource::Init(CSwapChainProcessor * swapChain, unsigned frameIndex, uint8_t * base, size_t size)
|
||||
{
|
||||
m_frameIndex = frameIndex;
|
||||
|
||||
if (size > swapChain->GetDevice()->GetMaxFrameSize())
|
||||
{
|
||||
DEBUG_ERROR("Frame size of %lu is too large to fit in available shared ram");
|
||||
|
||||
Reference in new issue
Block a user