mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-05 03:50:34 +02:00
Fixes failures on tests like this when the on-disk-cache is enabled: dEQP-VK.binding_model.descriptor_copy.compute.uniform_buffer_0 We only found them when running full CTS runs. What happens is that we got a hit from the on-disk shader cache, for several tests using the same shaders. But some tests seems to be using a uniform buffer, and others a inline buffer. Right now inline buffers leads to some changes on the final nir shader, and generated assembly, compared with uniform buffers. So we got a wrong shader. Fortunately we only got an assert instead of weird behaviour. With this commit we include the pipeline layout on the pipeline sha1, so those two cases would get different sha1. FWIW, this is what other drivers are already doing. Surprisingly that didn't cause a problem before. Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16313> |
||
|---|---|---|
| .. | ||
| ci | ||
| cle | ||
| clif | ||
| common | ||
| compiler | ||
| drm-shim | ||
| qpu | ||
| simulator | ||
| vulkan | ||
| .editorconfig | ||
| meson.build | ||