mesa/src
Kenneth Graunke 7db6fb7f0a jay: Fix rewrite_without_flags for SEL with other flag sources
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>
2026-06-08 15:56:26 +00:00
..
amd radv/ci: run vkd3d jobs with ASAN by default 2026-06-08 14:24:12 +00:00
android_stub android_stub: purge unused log utils 2026-05-01 20:23:23 +00:00
asahi hk: Add heap_memory_percent driconf support 2026-06-01 17:32:50 +00:00
broadcom broadcom/ci: update kernel for nightly jobs 2026-06-08 12:10:56 +00:00
c11
compiler nir: use the correct induction var when guessing loop iterations 2026-06-08 09:13:26 +00:00
drm-shim drm-shim: Include the hex of the driver ioctl for unimplemented ioctls. 2026-06-04 20:17:34 +00:00
egl egl/gbm: Eliminate max_age local variable 2026-05-29 16:38:01 +00:00
etnaviv etnaviv: Update headers from rnndb 2026-06-06 22:02:04 +00:00
freedreno tu/ci: Add coverage for emulated second graphics queue 2026-06-08 07:00:00 +00:00
gallium v3d: use NO_GUARDBAND clipper for near-zero viewport Z scale 2026-06-08 11:53:47 +00:00
gbm gbm: Replace VER_MIN with common MIN2 2026-04-30 13:00:03 +00:00
getopt
gfxstream gfxstream/platform: add missing inc_include to platform_virtgpu build 2026-06-03 21:35:50 +00:00
glx glx/windows: Drop static from driwindowsCreateScreen() 2026-05-18 13:33:35 +00:00
gtest
imagination imagination/ci: Use standard CI-tron gfx-ci/linux kernel 2026-06-08 14:59:19 +00:00
imgui imgui: update copy and port all tools using it 2026-04-30 10:59:45 +00:00
intel jay: Fix rewrite_without_flags for SEL with other flag sources 2026-06-08 15:56:26 +00:00
kosmickrisp kk: Clean up per draw upload for tessellation stage 2026-06-08 15:39:33 +00:00
loader loader: check if the kernel driver is amdgpu 2026-05-27 10:19:50 +00:00
mesa mesa/main: cast GLhandleARB to unsigned int in api trace 2026-06-05 23:43:49 -07:00
microsoft vulkan: implement VK_EXT_debug_marker 2026-06-01 15:31:38 +00:00
nouveau nak: Simplify our SmallVec usage 2026-06-03 18:50:43 +00:00
panfrost panfrost/ci: Switch traces over to gpu-trace-perf 2026-06-05 17:35:35 +00:00
poly poly: Fix range used for index unroll bounds checks 2026-05-26 10:39:00 +00:00
tool pps: Re-emit time clock_sync more regularly 2026-05-06 21:37:15 +00:00
util tu: Emulate second graphics queue for skiavk on Android 2026-06-08 07:00:00 +00:00
virtio venus: fix unbound malloc leak in vn_ring_get_submits 2026-06-08 03:32:20 +00:00
vulkan vulkan/queue: Add common queue emulation support 2026-06-08 07:00:00 +00:00
x11 meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
.clang-format intel: add Jay 2026-04-10 18:21:21 +00:00
meson.build gallium/dril: Don't use gbm if there is no gbm configured 2026-02-17 08:24:02 +00:00