mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 17:36:36 +00:00
Make buffer initial state padding more generous on GL
This commit is contained in:
@@ -980,7 +980,7 @@ uint64_t GLResourceManager::GetSize_InitialState(ResourceId resid, const GLIniti
|
||||
if(initial.type == eResBuffer)
|
||||
{
|
||||
// buffers just have their contents, no metadata needed
|
||||
return initial.bufferLength + WriteSerialiser::GetChunkAlignment() + 16;
|
||||
return initial.bufferLength + WriteSerialiser::GetChunkAlignment() + 64;
|
||||
}
|
||||
else if(initial.type == eResProgram)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user