When capturing shaders with MESA_SHADER_CAPTURE_PATH, shaders can and will be overwritten if they have the same program number.
This happens when you're capturing shaders from games especially after changing graphics settings and piglit shaders (I use that as a convenient way for testing radeonsi NIR). This probably hasn't been noticed before. The first set of patches changes the way captured shaders are named by adding the sha as the first part of the name, making shaders uniquely identifiable. The second set changes the layout in shader-db/si-report to account for the longer filenames. It could be applied independently, but is kind of required for the first set. [PATCH 1/3] mesa/main/shaderapi: Use generate_sha1() unconditionally [PATCH 2/3] mesa/main/shaderapi: purely non-functional cleanups like whitespace errors and cleanups [PATCH 3/3] Change from programnumber.shader_test naming to sha_programnumber.shader_test [PATCH 1/2] shader-db/si-report: Change layout to allow longer file names [PATCH 2/2] shader-db/si-report: Show biggest improvements also P.S. I don't have commit rights so please kindly review and push _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev