mesa/src
Vinson Lee d863e62b32 intel/compiler: Change selected_simd return type to int.
brw_simd_select return type is int.

Fix defect reported by Coverity Scan.

Unsigned compared against 0 (NO_EFFECT)
unsigned_compare: This less-than-zero comparison of an unsigned value is never true. selected_simd < 0U.

Fixes: 7dda0cf2b8 ("intel/compiler: Use SIMD selection helpers for CS")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13606>
2021-11-03 01:48:46 +00:00
..
amd radv: only enable VK_EXT_display_control for vrcompositor (SteamVR) 2021-11-02 08:08:33 +00:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom ci: Uprev VK-GL-CTS to 1.2.7.2, and pull in piglit while I'm here. 2021-11-02 20:29:31 +00:00
compiler mesa: preparse [ and [0] in gl_resource_name and use it in shader_query.cpp 2021-10-29 07:19:20 -04:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/wayland: Properly clear stale buffers on resize 2021-10-16 19:13:58 +00:00
etnaviv ci: Uprev VK-GL-CTS to 1.2.7.2, and pull in piglit while I'm here. 2021-11-02 20:29:31 +00:00
freedreno ci: Uprev VK-GL-CTS to 1.2.7.2, and pull in piglit while I'm here. 2021-11-02 20:29:31 +00:00
gallium zink: stop double printing validation messages 2021-11-03 01:22:56 +00:00
gbm gbm: add GBM_FORMAT_GR1616 and RG1616 2021-10-27 02:53:05 +00:00
getopt
glx meson: use gtest protocol for gtest based tests when possible 2021-10-16 03:22:24 +00:00
gtest
hgl
imgui
intel intel/compiler: Change selected_simd return type to int. 2021-11-03 01:48:46 +00:00
loader gallium/dri: let the driver know if the imported image is DRI_PRIME buffer 2021-10-18 16:24:00 +02:00
mapi glthread: add an option to make glCheckFramebufferStatus a no-op 2021-10-27 01:24:03 +00:00
mesa mesa: skip strlen when hashing strings for ProgramResourceHash 2021-10-29 07:19:20 -04:00
microsoft microsoft/compiler: Use textures for SRVs 2021-11-02 11:02:22 -07:00
nouveau
panfrost ci: Uprev VK-GL-CTS to 1.2.7.2, and pull in piglit while I'm here. 2021-11-02 20:29:31 +00:00
tool pps: add an intel config file 2021-10-28 13:16:56 +03:00
util util/hash_table: Clear special 0/1 entries for u64 hash table too 2021-11-02 11:02:18 -07:00
virtio vulkan: Move all the common object code to runtime/ 2021-10-29 23:12:32 +00:00
vulkan vulkan/wsi: set correct bits for host allocations/exports for images. 2021-11-02 10:27:04 +10:00
meson.build meson: build freedreno tools when other parts of freedreno not enabled 2021-10-26 00:33:31 +00:00