mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-27 08:56:44 +00:00
Fix unused variables
In almost all cases these can be removed. The only exception is in ShaderViewer.cpp, where regIdx should have been used.
This commit is contained in:
committed by
Baldur Karlsson
parent
b227229d9f
commit
58b628ee8b
@@ -515,7 +515,7 @@ void ShaderViewer::debugShader(const ShaderBindpointMapping *bind, const ShaderR
|
||||
s.systemValue == ShaderBuiltin::Undefined ? QString::number(s.regIndex) : lit("-");
|
||||
|
||||
ui->inputSig->addTopLevelItem(new RDTreeWidgetItem(
|
||||
{name, semIdx, QString::number(s.regIndex), TypeString(s), ToQStr(s.systemValue),
|
||||
{name, semIdx, regIdx, TypeString(s), ToQStr(s.systemValue),
|
||||
GetComponentString(s.regChannelMask), GetComponentString(s.channelUsedMask)}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user