mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-25 15:16:22 +00:00
Ditch $any() and $all() in favour of simple paren nesting
* This means that literals are no longer allowed to contains ()s to match e.g. Draw( to implicitly exclude DrawIndexed().
This commit is contained in:
@@ -77,6 +77,8 @@ struct FilterExpression
|
||||
|
||||
QString printName() const
|
||||
{
|
||||
if(name == lit("$any$"))
|
||||
return lit("(...)");
|
||||
if(function)
|
||||
return QFormatStr("$%1(%2)").arg(name).arg(params);
|
||||
return name;
|
||||
@@ -199,8 +201,7 @@ private:
|
||||
void ShowSavedFilterCompleter(RDTextEdit *filter);
|
||||
void CreateFilterDialog();
|
||||
|
||||
void AddFilterExplanations(QString parentFunc, RDTreeWidgetItem *root,
|
||||
QVector<FilterExpression> exprs, QString ¬es);
|
||||
void AddFilterExplanations(RDTreeWidgetItem *root, QVector<FilterExpression> exprs, QString ¬es);
|
||||
|
||||
QString GetExportString(int indent, bool firstchild, const QModelIndex &idx);
|
||||
void GetMaxNameLength(int &maxNameLength, int indent, bool firstchild, const QModelIndex &idx);
|
||||
|
||||
Reference in New Issue
Block a user