Does (or should) mesa_shader_cache get populated?

On Linux I'm used to games creating shader caches to mesa_shader_cache or mesa_shader_cache_sf. On FreeBSD 14.1 I notice that if I set the env for a specific shader cache dir, the shader cache folder gets created but nothing seemingly ends up in it.

Is there something different about how Mesa works on FreeBSD that it doesn't use the shader cache folder? I'm using Intel UHD 630 (i915kms/drm-kmod).
 
Seems like they get used!

mesa_shader_cache_sf has 3 folders, but inside either iris_3e9b or anv_3e9b; with Intel graphics I'm assuming iris is OpenGL and anv Vulkan (I don't recall running a VK app yet though)

mesa_shader_cache has a bunch of folders and files of different sizes.

I'm not certain but it seems like the Mesa shader cache folders get used less or populate less files than on Linux?
 
Back
Top