mesa/src
Jason Ekstrand 1d23aa2618 nir: Don't optimize bcsel-of-shuffle across blocks
We can't move the shuffle to a new block so this only works if the
shuffle and the bcsel are in the same block.  Fortunately, in the
motivating case, this is true.

Also, we have to be careful around discard.  We could try really hard to
just avoid moving them past discard but we choose to simply bail if we
see a discard instead.

Fixes: 4ff4d4e569 "nir/opt_intrinsic: Optimize bcsel(b, shuffle..."
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9068>
(cherry picked from commit ceb6986d34)
2021-02-18 14:09:05 -08:00
..
amd radv: Do pipe misalignment check per plane. 2021-02-18 14:09:03 -08:00
android_stub egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
broadcom v3d: Clean up vestiges of alpha test lowering. 2021-02-10 15:11:15 -08:00
compiler nir: Don't optimize bcsel-of-shuffle across blocks 2021-02-18 14:09:05 -08:00
drm-shim drm-shim: Fix unused variable warnings from asserts in release build. 2020-08-28 22:45:08 +00:00
egl egl/dri2: fix image loaderPrivate type mixup 2020-12-24 00:05:15 +09:00
etnaviv etnaviv, v3d: Fix valgrind include paths. 2020-12-15 19:39:29 +00:00
freedreno turnip: don't always use 3d ops for blit_image 2021-02-04 14:08:35 -08:00
gallium zink: handle 1bit undef values in ntv 2021-02-18 14:09:02 -08:00
gbm egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
getopt
glx glx: Provide glvnd wrapper for glXSwapIntervalEXT 2021-01-25 10:07:15 -08:00
gtest gtest: Update to 1.10.0 2020-04-20 11:57:11 +00:00
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel anv: Allow null handle in DestroyDescriptorUpdateTemplate. 2021-02-18 12:59:40 -08:00
loader loader: Print dlerror() output in the failure message 2020-11-04 21:45:37 +00:00
mapi glapi: fix unused-function warning 2020-12-01 16:51:01 +00:00
mesa i965: use aligned malloc for context instead of ralloc 2021-02-04 14:08:35 -08:00
microsoft compiler: Use util/bitset.h for system_values_read 2021-01-27 10:10:50 -08:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost pan/bi: Use the correct size for UBO loads 2021-02-18 14:09:04 -08:00
util disk_cache: Fail creation when cannot inizialize queue. 2021-02-18 12:59:39 -08:00
virtio virgl: Enable GL_EXT_texture_sRGB_RG8 2021-01-04 21:19:35 +00:00
vulkan Revert "vulkan: Make vk_debug_report_callback derive from vk_object_base" 2021-02-18 11:29:07 -08:00
meson.build nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00