mesa/src
Vasily Khoruzhick 2756b62917 lima/gpir: add better lowering for ftrunc
GP doesn't support ftrunc natively and unfortunately one in generic
opt_algebraic is not GP-friendly either. Introduce our own lowering
that utilizes fsign() that GP supports:
ftrunc(a) = fmul(fsign(a), ffloor(fmax(a, -a)))

Tested-by: Andreas Baierl <ichgeh@imkreisrum.de>
Reviewed-by: Andreas Baierl <ichgeh@imkreisrum.de>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4126>
2020-03-16 16:28:33 -07:00
..
amd aco: fix operand order for LS VGPR init bug workaround 2020-03-16 19:34:32 +00:00
broadcom util/ra: spiff out select_reg_callback 2020-03-10 16:01:39 +00:00
compiler meson: Avoid duplicate symbols. 2020-03-16 11:52:26 +00:00
drm-shim drm-shim: fix EOF case 2019-11-13 12:39:14 +00:00
egl egl/android: set window usage flags 2020-03-12 11:03:32 +09:00
etnaviv etnaviv: drm-shim: add GC400 2020-01-30 04:05:39 +00:00
freedreno tu: Rewrite border color handling 2020-03-16 13:17:54 +00:00
gallium lima/gpir: add better lowering for ftrunc 2020-03-16 16:28:33 -07:00
gbm meson: move the generic symbols check arguments to a common variable 2019-11-05 20:30:47 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx Revert "glx: convert glx_config_create_list to one big calloc" 2020-03-04 10:19:48 +00:00
gtest meson: gtest needs pthreads 2019-11-07 06:11:19 -08:00
hgl haiku: fix Mesa build 2019-10-01 10:31:02 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel anv: Push UBO ranges relative to the start of the binding 2020-03-16 15:14:14 +00:00
loader loader: Fix leak of kernel driver name 2020-01-30 10:08:17 -08:00
mapi glthread: fall back if a param size is non-zero and a pointer param is NULL 2020-03-06 01:06:14 +00:00
mesa intel/compiler: detect if atomic load store operations are used 2020-03-16 10:34:21 +00:00
panfrost pan/bi: Interpret register allocation results 2020-03-12 12:41:08 +00:00
util glsl/tests: Fix waiting for disk_cache_put() to finish. 2020-03-12 19:47:23 +00:00
vulkan vulkan/wsi: fix cleanup when dup() fails 2020-03-10 22:43:25 +00:00
meson.build meson: only build imgui when needed 2019-11-25 07:51:56 +00:00
SConscript