mesa/src
Ian Romanick a2bf41ec65 nir/algebraic: Optimize ushr of pack_half, not ishr
When a = -1.0, pack_half_2x16(vec2(0x0000, 0xBC00)) will produce
0xBC000000.  The ishr will produce 0xFFFFBC00.  The replacement
pack_half_2x16(vec2(0xBC00, 0x0000)) will produce 0x0000BC00.

Fixes: 1f72857739 ("nir/algebraic: add some half packing optimizations")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4515>
2020-05-11 12:07:01 -07:00
..
amd amd/common: Fix incorrect use of asprintf instead of vasprintf 2020-05-11 12:54:41 +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: Optimize ushr of pack_half, not ishr 2020-05-11 12:07:01 -07:00
drm-shim drm-shim: silence warnings 2020-04-30 11:32:54 +03:00
egl egl: Limit the EGL ver for android 2020-05-11 13:06:22 +00:00
etnaviv etnaviv: drm: Normalize nano seconds 2020-05-10 07:32:12 +00:00
freedreno freedreno: android: add adreno-pm4-pack.xml.h generation to android build 2020-05-09 16:19:14 +00:00
gallium zink: enable conditional rendering if available 2020-05-11 09:09:34 +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 intel: Delete hardcoded devinfo->urb.size values for Gen7+ (sans DG1). 2020-05-11 09:40:56 -07:00
loader loader: fallback to kernel name, if PCI fails 2020-04-01 16:57:22 +01:00
mapi glthread: upload non-VBO vertices and indices for non-Indirect non-IBM draws 2020-04-30 22:01:55 +00:00
mesa i965: Fix out-of-bounds access to brw_stage_state::surf_offset 2020-05-06 16:09:20 +00:00
panfrost panfrost: don't always build bifrost_compiler 2020-05-09 01:27:41 +00:00
util util: Make process_test path compatible with mingw native toolchains 2020-05-08 14:09:09 +00:00
vulkan vulkan/object: Always include the type 2020-05-08 17:09:27 +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