mesa/src
Thomas H.P. Andersen e41eb8950b nir/ifind_msb_rev: fix input check
ifind_msb_rev was introduced in a5747f8ab3.

ifind_msb_rev guards against src0 being both 0 or -1 at the same time.
That is always true. This patch changes it to check for those values
individually.

Spotted from a compile warning.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>

Fixes: a5747f8ab3 (\"nir: add opcodes for *find_msb_rev and lowering\")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11630>
(cherry picked from commit ffea622604)
2021-07-13 09:58:56 +01:00
..
amd Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-07-13 00:30:11 +01: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/ifind_msb_rev: fix input check 2021-07-13 09:58:56 +01:00
drm-shim drm-shim: report support for timeline semaphores 2021-02-09 21:08:52 +00:00
egl Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-07-13 00:30:11 +01:00
etnaviv etnaviv: tell the truth if alpha-test is supported 2021-04-08 19:25:26 +00:00
freedreno Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-07-13 00:30:11 +01:00
gallium osmesa: Replace default case FALLTHROUGH annotation by following return 2021-07-13 09:58:56 +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 hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel intel: fix leaking memory on shader creation 2021-07-13 09:58:56 +01: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 Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-07-13 00:30:11 +01:00
microsoft microsoft/compiler: Fix MSVC warning C4334 (32bit shift cast to 64bit) 2021-04-20 19:43:26 +02:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-07-13 00:30:11 +01:00
util radv: disable DCC for DOOM 2016 and Wolfenstein II 2021-07-13 00:30:10 +01:00
virtio venus: Fix zero-initialized fd causing apps to hang/crash 2021-05-18 23:02:27 +02:00
vulkan Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-07-13 00:30:11 +01:00
meson.build venus: add driver skeleton 2021-04-08 17:15:37 +00:00