11bec22647
The shader key structure is quite large and memsetting it to zero to be able to create or often simply find an existing shader is responsible for a large portion of CPU usage during benchmarks. This change is more surgical about what, when, and how things get cleared. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21247>