mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 00:16:45 +00:00
Ensure that fixed data over 10k bytes is fetched in buffer viewer
* We need to calculate the fixed data length properly even when there is no repeated data, so that pagination doesn't kick in on the data that is needed for the fixed region.
This commit is contained in:
@@ -2910,6 +2910,11 @@ void BufferViewer::OnEventChanged(uint32_t eventId)
|
||||
|
||||
UnrollConstant(parsed.repeating, bufdata->vsinConfig.columns, bufdata->vsinConfig.props);
|
||||
}
|
||||
else
|
||||
{
|
||||
bufdata->vsinConfig.repeatStride = 1U;
|
||||
bufdata->vsinConfig.repeatOffset = parsed.fixed.type.arrayByteStride;
|
||||
}
|
||||
|
||||
if((m_Format.isEmpty() || !bufdata->cb.bytesBacked) && IsCBufferView())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user