mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-17 11:48:05 +02:00
In order to properly check (and possibly compile) shader variants we need a pipeline and a compatible descriptor set. So far we were trying to do that check as early as possible, so we were trying to do it at CmdBindPipeline or CmdBindDescriptorSets, and a combination of dirty flags. This showed to not cover all the corners cases, and made the code complex, as needed to handle cases where the descriptors were not yet available, and return early. The latter also meant that we were running several checks that failed in the middle. This commit moves the variant check to CmdDraw, when we should have a pipeline and compatible descriptor sets, and simplifies and makes more strict the existing code. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766> |
||
|---|---|---|
| .. | ||
| cle | ||
| clif | ||
| common | ||
| compiler | ||
| drm-shim | ||
| qpu | ||
| simulator | ||
| vulkan | ||
| .editorconfig | ||
| Android.cle.mk | ||
| Android.genxml.mk | ||
| Android.mk | ||
| Makefile.sources | ||
| meson.build | ||