Files
UnrealEngineUWP/Engine/Source/Programs/CSVTools
ben woodhouse 72d3559c65 PerfReportTool 4.220: VariableSets support
- Add support for variable sets. This allows us to set blocks of variables based on metadata, which can be accessed via ${NAME} syntax. Variable sets support nesting and can be conditional using metadata queries
  - We support a global variable set (declared under <globalVariableSet> in root), and local variable sets which apply to a given report type only (as <variableSet> children of the ReportType element)

example:
<globalVariableSet>
  <variableSet>
    <var mvpStatName="MVP${meta.targetframerate}"/>
    <var targetFps="${meta.targetframerate}"/>
    <var dynamicResBudget="100"/>
  </variableSet>

  <!-- Switch -->
  <variableSet metadataQuery="platform=Switch">
    <var frameTimeBudget="33.33"/>
    <variableSet metadataQuery="deviceprofile=Switch_Console_Forward*">
      <var dynamicResBudget="92"/>
    </variableSet>
    <variableSet metadataQuery="deviceprofile=Switch_Handheld_Forward*">
      <var dynamicResBudget="88"/>
    </variableSet>
  </variableSet>
</globalVariableSet>

#tests Passes Test cases with identical results (if no changes to the XML)
[FYI] tyler.staples

[CL 29918333 by ben woodhouse in ue5-main branch]
2023-11-24 07:45:23 -05:00
..