Without the extension

g_vk.has_gpl is set only when all of these hold:

The setting is new, in src/nx/runtime/settings.txt and docs/user/settings.md: 0 off, 1 on, default 1. It is a startup setting, because the layouts depend on it. It gives a player a way to turn GPL off on a driver that draws it wrong.

Without has_gpl, nothing changes: the layouts have no INDEPENDENT_SETS, pipe_create makes whole pipelines, the dynamic state of the table above stays static, and the pipeline file works as now. The PR, FS, VI and FO code is not reached. vk_pipeline_file_key does not change: a PF_PIPE record means the same pipeline in both modes, and the driver's own cache data in vk_pipelines.bin keeps the parts and the whole pipelines apart.

pipe_slow_say and the stats line say which path a pipeline took, so a log of a player shows it.


Made from docs/layers/gpu/pipeline-libraries.md at 69237645142c. GPL-3.0-or-later.