8 Commits

Author SHA1 Message Date
serge bernier
8036a0bc90 Add agent ype for release branches
#rb [at]ryan.hummer

[CL 33685282 by serge bernier in ue5-main branch]
2024-05-16 09:26:42 -04:00
ryan hummer
032ed297d2 Fixing Build Graph errors around EditorPlatform
#rnx
#rb none

[CL 33670147 by ryan hummer in ue5-main branch]
2024-05-15 16:49:48 -04:00
serge bernier
5a68126c60 Change EditorPlatform type so that ShaderTypeRegression script works on different stream projects.
#rb ryan.hummer

[CL 33668208 by serge bernier in ue5-main branch]
2024-05-15 16:06:04 -04:00
serge bernier
c44daa822a Add platform support for the run shader type Horde job.
#rb [at]jason.nadro

[CL 33663978 by serge bernier in ue5-main branch]
2024-05-15 13:42:55 -04:00
Tim Smith
b3eae65080 Updating sample build scripts to not build UnrealHeaderTool
#rb
#preflight 63c01af8bf54fa7b3668d1d7

[CL 23662742 by Tim Smith in ue5-main branch]
2023-01-12 09:57:35 -05:00
Ryan Hummer
771f4987d4 Optimize Shader Regression Testing Graph
- Don't use an agent for compiling and another agent for testing
- Reduces agent usage and reduces temp storage usage. each build is ~80GB

#rnx
#jira none
#rb none
#preflight none

[CL 19847995 by Ryan Hummer in ue5-main branch]
2022-04-21 09:05:09 -04:00
Jason Nadro
cf5685d7c8 Add analytics provider to DumpMaterialShaderTypes to track nightly statistics across various projects.
- Calculate the total shaders in the DefaultMaterials as a good metric.  This impacts editor startup time and is the default materials are the worst case scenario for usage flags.
- Only gather analytics if passed in on the commandline.
- Fix a copy by value on a large array.
- Const-ify some args.
- Add the ability to pass -analytics through the automated test.

# Analytics
We report the following analytics:

	* ProjectName
	* BuildVersion
	* Platform
	* ShaderPlatform
	* TotalShaders
	* TotalMaterials
	* TotalMaterialInstances
	* TotalGlobalShaders
	* TotalDefaultMaterialShaders

#rb trivial
#jira none
#preflight 622b8b3946679d56c31a4541

[CL 19358061 by Jason Nadro in ue5-main branch]
2022-03-11 13:23:58 -05:00
Jason Nadro
1b42f719e8 Add an automated test to run the DumpMaterialShaderTypes commandlet. This is useful for catching shader count regressions on projects.
# Changes
- Add a new test called ShaderTypeRegressionTest
- For each project:
    1. Build the editor
    2. Run the commandlet

# How do I run it?

    RunUAT BuildGraph -Script=Engine/Build/ShaderTypeRegressionTest.xml -Target="Shader Type Regression" -append:Projects="EngineTest" -append:Projects="CitySample" -append:Projects="Lyra" -append:Projects="MedievalGame[UnrealEditor]"

# Where can I find the output?

The results of the automated test are placed here:

    Engine\Programs\AutomationTool\Saved\...

#rb Ryan.Hummer
#jira none
#preflight

[CL 19312520 by Jason Nadro in ue5-main branch]
2022-03-08 17:36:34 -05:00