Skip to content

freedreno: asynchronously compile initial shader variants

Rob Clark requested to merge robclark/mesa:wip/async-compile into master

The first 9 patches are various cleanup and prep, which I think makes sense irrespective of asynchronously compiling initial shader variants. The last patch is the actual async support.

Doesn't completely get rid of the janks when asphalt9 compiles new shaders mid-game, possibly they are used too soon after they are created? At least subjectively it feels like it improves game startup time. When combined with threaded-ctx (#4233 (closed)) I think this should be able to hide the recompile latency.

Edited by Rob Clark

Merge request reports