mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-10 12:08:19 +02:00
The idea here is to eliminate the flag used for the select condition, not eliminate other flag sources. Previously, if we had an instruction like: gpr = SEL <not in flag> 0 <already in flag> we would process source 0 and try to rewrite_without_flags(). Because it's not in a flag, we think eliminating flags would be useful, so we rewrite it. But this only eliminates the source 2 selection flag, not the source 0 flag. It's valid to do so (but debatably useful). However, we thought we were done, and skipped the setup that ensures source 0's value was actually loaded into a flag. Instead, we should just perform this optimization when processing the selection flag (source 2). By that point, we will have properly set up any flags for sources 0 and 1. And if source 2 is not in a flag, we can decide to rewrite without it. Or, if it's already in a flag, we can keep it as-is. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42056> |
||
|---|---|---|
| .. | ||
| amd | ||
| android_stub | ||
| asahi | ||
| broadcom | ||
| c11 | ||
| compiler | ||
| drm-shim | ||
| egl | ||
| etnaviv | ||
| freedreno | ||
| gallium | ||
| gbm | ||
| getopt | ||
| gfxstream | ||
| glx | ||
| gtest | ||
| imagination | ||
| imgui | ||
| intel | ||
| kosmickrisp | ||
| loader | ||
| mesa | ||
| microsoft | ||
| nouveau | ||
| panfrost | ||
| poly | ||
| tool | ||
| util | ||
| virtio | ||
| vulkan | ||
| x11 | ||
| .clang-format | ||
| meson.build | ||