mesa/src
Karol Herbst 007e596ac5 nv50/ir: fix surface lowering when values get shared accross operations
With nir I encountered the case where the same value can be written to from
multiple surface operations. This caused some weird messups with the unions
as the def.rewrite operations caused unrelated instructions to get new their
value replaced as well.

In order to replace def.rewrite, we have to create a new temp value, write
to that one instead and move to the original value.

Fixes: 869e32593a ("gm107/ir: fix loading z offset for layered 3d image bindings")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11053>
(cherry picked from commit c1f938b647)
2021-06-18 18:29:52 +01:00
..
amd radv: Allow DCC images to be compressed with foreign queues. 2021-06-16 08:40:20 +02:00
android_stub android: add some more stub functions for cross compilation 2021-03-25 06:06:16 +00:00
broadcom Revert "glx: Lift sending the MakeCurrent request to top-level code" 2021-04-18 22:13:21 +02:00
compiler nir/algebraic: Invert comparisons less often 2021-05-31 22:48:16 +02:00
drm-shim
egl egl: zero is a valid fd 2021-06-10 13:23:11 +02:00
etnaviv etnaviv: tell the truth if alpha-test is supported 2021-04-08 19:25:26 +00:00
freedreno freedreno/ir3: Fix use after free 2021-06-10 13:23:16 +02:00
gallium nv50/ir: fix surface lowering when values get shared accross operations 2021-06-18 18:29:52 +01:00
gbm egl: fix software flag in _eglAddDevice call on DRM 2021-03-26 10:32:31 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: revert "Downgrade sRGB-ful fbconfigs" 2021-05-03 23:55:02 +02:00
gtest
hgl
imgui
intel anv: Clear all pending stall after pipe flush 2021-06-16 08:40:20 +02:00
loader loader: prefer iris on Android 2021-03-31 06:28:18 +00:00
mapi mesa: fix incomplete GL_NV_half_float implementation 2021-04-26 19:05:42 +02:00
mesa classic/xlib: Fix the build after !9817 2021-06-10 13:23:20 +02:00
microsoft microsoft/compiler: Fix MSVC warning C4334 (32bit shift cast to 64bit) 2021-04-20 19:43:26 +02:00
nouveau
panfrost panfrost: Use first_tiler to check if tiling is needed 2021-06-05 17:56:52 +02:00
util util: Zero out all of mask in util_set_thread_affinity 2021-06-16 08:40:20 +02:00
virtio venus: Fix zero-initialized fd causing apps to hang/crash 2021-05-18 23:02:27 +02:00
vulkan vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable 2021-06-02 20:08:40 +02:00
meson.build venus: add driver skeleton 2021-04-08 17:15:37 +00:00