mesa/src
Alyssa Rosenzweig 3e8f540753 nir: Add Mali-specific derivative opcodes
Add derivative opcodes fddx_must_abs_mali/fddy_must_abs_mali satisfying:

   fabs(fdd*_must_abs_mali(v)) = fabs(fdd*(v))

The sign of their result is undefined.

On Bifrost and Valhall, these unsigned derivatives can be implemented
more efficiently than the correctly-signed counterparts, since the sign
fixup requires extra ALU instructions. On backends where this is the
case, it is useful to optimize fabs(fdd*(v)) to
fabs(fdd*_must_abs_mali(v)). This pattern comes up with the GLSL builtin
`fwidth`.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12332>
2021-10-06 00:40:57 +00:00
..
amd ac/surface: Use 64 && 128 for GFX10_3 on non-modifier path 2021-10-06 00:13:46 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom v3dv: remove feature checks from device creation 2021-10-01 17:37:02 +00:00
compiler nir: Add Mali-specific derivative opcodes 2021-10-06 00:40:57 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl gallium: add PIPE_CAP_PREFER_BACK_BUFFER_REUSE 2021-09-29 08:14:57 +00:00
etnaviv etnaviv: move drm version readout to drm layer 2021-10-01 10:13:32 +00:00
freedreno turnip: Replace our format table with fd6_format_table. 2021-10-05 20:09:18 +00:00
gallium gallium/pb_slab: use simple_mtx_t 2021-10-05 23:46:14 +00:00
gbm gbm: assume USE_SCANOUT in create_with_modifiers 2021-10-01 00:02:36 +02:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx gallium: add PIPE_CAP_PREFER_BACK_BUFFER_REUSE 2021-09-29 08:14:57 +00:00
gtest
hgl
imgui
intel intel/blorp: fix a compile warning about uninitialized use 2021-10-05 11:59:27 +00:00
loader loader/dri3: fix swap out of order when changing swap interval 2021-09-30 03:27:14 +00:00
mapi mesa: GL_ARB_ES3_2_compatibility GL compat profile support 2021-09-23 11:10:23 +00:00
mesa mesa: use simple_mtx_t for ShaderIncludeMutex 2021-10-05 23:46:14 +00:00
microsoft nir_to_dxil: Add tagging raw SRVs in shader flags 2021-10-05 23:32:18 +00:00
nouveau
panfrost panfrost: Fix PAN_MESA_DEBUG=sync with INTEL_blackhole_render 2021-10-05 21:13:52 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util util/queue: use simple_mtx_t for finish_lock 2021-10-05 23:46:14 +00:00
virtio venus: keep layouts of descriptor sets alive 2021-09-30 03:16:19 +00:00
vulkan vulkan/wsi/wayland: fix an invalid u_vector_init call 2021-10-05 17:42:41 +00:00
meson.build radv: Allow building when LLVM isn’t enabled 2021-10-01 10:40:18 +02:00