A first run after a translator change compiled every compute pipeline one at a time while the render thread waited (Demon's Souls: 282 pipelines, 144 s). When the translator assemblies or the driver differ from shader-prewarm.stamp, background threads at below-normal priority translate the listed programs again and create their pipelines, so the driver has them before the game asks. With the same build and driver the launch does no prewarm work. The log reports the prewarm result and how many runtime compute modules it produced. |
||
|---|---|---|
| .. | ||
| SharpEmu.Libs.Tests | ||
| SharpEmu.ShaderCompiler.Metal.Tests | ||
| SharpEmu.ShaderCompiler.Tests | ||
| SharpEmu.SourceGenerators.Tests | ||