mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Always treat vertex buffer formats as scalar packed
This commit is contained in:
@@ -1469,6 +1469,10 @@ QString PipelineStateViewer::GetVBufferFormatString(uint32_t slot)
|
||||
if(stride > offset)
|
||||
format = lit("[[size(%1)]]\n").arg(stride) + format;
|
||||
|
||||
format = lit("#pack(scalar) // vertex buffers can be tightly packed\n"
|
||||
"\n") +
|
||||
format;
|
||||
|
||||
return format;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user