Various warning fixes
This commit is contained in:
parent
3c910782ca
commit
701edb335a
28 changed files with 142 additions and 137 deletions
|
|
@ -153,6 +153,7 @@ void GPUBackend::PushCommand(GPUBackendCommand* cmd)
|
|||
{
|
||||
const u32 new_write_ptr = m_command_fifo_write_ptr.fetch_add(cmd->size) + cmd->size;
|
||||
DebugAssert(new_write_ptr <= COMMAND_QUEUE_SIZE);
|
||||
UNREFERENCED_VARIABLE(new_write_ptr);
|
||||
if (GetPendingCommandSize() >= THRESHOLD_TO_WAKE_GPU)
|
||||
WakeGPUThread();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue