mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Replace FormatElement with ShaderConstant/ShaderVariableType
* FormatElement is now a static BufferFormatter class to help generate and parse buffer formatting strings
This commit is contained in:
@@ -451,7 +451,7 @@ void ResourceInspector::on_viewContents_clicked()
|
||||
if(tex->type == TextureType::Buffer)
|
||||
{
|
||||
IBufferViewer *viewer = m_Ctx.ViewTextureAsBuffer(
|
||||
tex->resourceId, Subresource(), FormatElement::GenerateTextureBufferFormat(*tex));
|
||||
tex->resourceId, Subresource(), BufferFormatter::GetTextureFormatString(*tex));
|
||||
|
||||
m_Ctx.AddDockWindow(viewer->Widget(), DockReference::AddTo, this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user