Nouveau Patch For Enabling The GLSL/TGSI On-Disk Shader Cache
A patch is now available for enabling the GLSL/TGSI on-disk shader cache for the Nouveau Gallium3D driver.
A patch has emerged for enabling the GLSL/TGSI on-disk shader cache within the Nouveau Gallium3D common code. This doesn't come as a big surprise or huge feat given the TGSI on-disk shader cache has largely been common to Gallium3D / Mesa state tracker to begin with and is caching this Gallium3D IR as opposed to the hardware-specific generated shader binaries.
This Nouveau TGSI shader cache should be of similar benefit to the RadeonSI shader cache, albeit this open-source AMD driver code has since advanced to also support the caching of the final shader binaries.
This Nouveau intermediary shader cache patch is less than three dozen lines of code and can be found for now on the Mesa-dev list.
A patch has emerged for enabling the GLSL/TGSI on-disk shader cache within the Nouveau Gallium3D common code. This doesn't come as a big surprise or huge feat given the TGSI on-disk shader cache has largely been common to Gallium3D / Mesa state tracker to begin with and is caching this Gallium3D IR as opposed to the hardware-specific generated shader binaries.
This Nouveau TGSI shader cache should be of similar benefit to the RadeonSI shader cache, albeit this open-source AMD driver code has since advanced to also support the caching of the final shader binaries.
This Nouveau intermediary shader cache patch is less than three dozen lines of code and can be found for now on the Mesa-dev list.
5 Comments