mesa/src
Ian Romanick 7b869710a1 nir/algebraic: Require operands to iand be 32-bit
With the mask value 0x80000000, the other operand must be 32-bit.  This
fixes failures in
dEQP-VK.subgroups.ballot_mask.ext_shader_subgroup_ballot.*.gl_subgroupgemaskarb_*
tests from Vulkan 1.2.2 CTS.

Checking one of the tests, it appears that the tests are doing 64-bit
iand with 0x0000000080000000, then comparing the result with zero.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2834
Fixes: 88eb8f190b ("nir/algebraic: Simplify logic to detect sign of an integer")
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4770>
2020-04-28 20:33:56 +00:00
..
amd radv: enable FMASK for color attachments only 2020-04-28 17:23:05 +02:00
broadcom drm-shim: Let the driver choose to overwrite the first render node. 2020-04-23 17:54:54 +00:00
compiler nir/algebraic: Require operands to iand be 32-bit 2020-04-28 20:33:56 +00:00
drm-shim drm-shim: stub syncobj wait ioctl 2020-04-24 10:19:43 +03:00
egl egl: simplify client/platform extension handling 2020-04-21 22:20:24 +00:00
etnaviv drm-shim: Let the driver choose to overwrite the first render node. 2020-04-23 17:54:54 +00:00
freedreno freedreno/ir3/ra: only assign array base in first pass 2020-04-28 20:06:49 +00:00
gallium radeonsi: Count planes for imported textures. 2020-04-28 11:16:03 +00:00
gbm gbm/dri: Propagate queryDmaBufModifiers return value 2020-04-16 10:19:35 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx glx: omit loader_loader() for macOS 2020-04-15 11:37:21 +00:00
gtest gtest: Update to 1.10.0 2020-04-20 11:57:11 +00:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel anv: Expose CS workgroup sizes based on a maximum of 64 threads 2020-04-28 14:51:08 +00:00
loader loader: fallback to kernel name, if PCI fails 2020-04-01 16:57:22 +01:00
mapi glthread: sort variables in marshal structures to pack them optimally 2020-04-27 11:56:06 +00:00
mesa mesa/st: call _mesa_initialize() early 2020-04-27 20:40:01 +00:00
panfrost pan/bi: Add initial fcmp test 2020-04-28 17:17:48 +00:00
util Revert "meson,ci: Disable sparse_array tests on windows" 2020-04-24 20:01:31 +00:00
vulkan vulkan: add initial device selection layer. (v6.1) 2020-04-27 19:57:49 +00:00
meson.build remove final imports.h and imports.c bits 2020-04-21 11:09:04 -07:00
SConscript scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00