mesa/src
Alyssa Rosenzweig 18b2daa136 gallium/u_simple_shaders: Optimize out ffloors
ffloor(f2i(x)) can't be optimized to f2i(x) due to differing behaviour for
negative x, but u_blitter only uses this with nonnegative x so we can instead
use ftrunc(f2i(x)) which NIR will optimize to f2i(x) for us. This gets rid of
the silly ffloor instructions in blit shaders.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24319>
2023-08-01 14:04:08 +00:00
..
amd radv: Use common nir_vk_is_not_xfb_output 2023-08-01 10:32:02 +02:00
android_stub
asahi asahi: Don't depend on glibc to decode 2023-07-22 12:42:58 -04:00
broadcom broadcom/compiler: Convert to new-style NIR registers 2023-07-25 15:36:52 +00:00
c11
compiler nir/schedule: Assume no old-style registers 2023-08-01 14:04:07 +00:00
drm-shim
egl egl: Always set _EGLDisplay->Device during eglGetPlatformDisplay() 2023-08-01 11:21:59 +00:00
etnaviv ci/etnaviv: update ci expectations 2023-07-22 04:16:32 +00:00
freedreno turnip: Use common nir_vk_is_not_xfb_output 2023-08-01 10:32:04 +02:00
gallium gallium/u_simple_shaders: Optimize out ffloors 2023-08-01 14:04:08 +00:00
gbm egl/drm: Assume modern DRI interface versions 2023-07-28 12:25:19 +00:00
getopt
glx kopper: pass modifier availability to drawable creation 2023-07-27 19:18:21 +00:00
gtest
imagination pvr: Fix csb relocation status assert on pvr_csb_finish() 2023-07-27 11:03:41 +00:00
imgui
intel anv: partially revert 2e8b1f6d 2023-07-31 15:06:39 +00:00
loader
mapi
mesa state_tracker: fix dereference before null check 2023-07-25 08:55:56 +00:00
microsoft microsoft/clc/compiler: Convert to use nir_foreach_function_impl when possible 2023-07-26 03:43:40 +00:00
nouveau nv50/ir/nir: Fix zero source handling of tex instructions. 2023-07-29 19:01:40 +00:00
panfrost pan/bi: Remove leftover include 2023-07-25 15:36:52 +00:00
tool
util zink: Removes disable_xcb_surface 2023-08-01 12:27:55 +00:00
virtio venus: suppress a false logging 2023-07-30 14:33:34 +00:00
vulkan vulkan/nir: Add common helper to check if output is XFB 2023-08-01 10:30:59 +02:00
.clang-format
meson.build