[Mesa-dev] GLSL IR & TGSI on-disk shader cache

Matt Arsenault arsenm2 at gmail.com
Mon Feb 13 19:50:21 UTC 2017


> On Feb 6, 2017, at 19:42, Timothy Arceri <tarceri at itsqueeze.com> wrote:
> 
> This series does not include the patch that adds cache support
> to the radeonsi backend, the main reason for this is that llvm
> currently doesn't allow the version to be queried at runtime
> (as far as I'm aware) although it seems like other are interested
> in this feature [1] so I will follow up on that.

This should not be necessary. Old bitcode is supposed to be forward compatible and should be autoupgraded. You should not need to check that the runtime version matches. The sticking point for AMDGPU specifically is I do not want to guarantee compatibility for the legacy intrinsics still in use. They have various problems, and some of them make it difficult to support auto upgrading them. Going forward I would like to maintain compatibility with new properly defined intrinsics.

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170213/498a4f3a/attachment.html>


More information about the mesa-dev mailing list