mesa/src
Andreas Baierl 2ebfc6db16 lima: Fix alpha blending
Introduce separate helper functions to set the blendfactor bits.

Lima uses bits 0-2 for the type, bit 3 sets the inverted function
and bit 4 is set if alpha is used.
alpha_src_factor and alpha_dst_factor don't need the alpha bit, so
they are masked with 0xf. There is only place for 4 bits anyway.
If alpha_src_factor is PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE, we need
to change it to PIPE_BLENDFACTOR_ONE first.
This is exactly what the blob does and we pass all
dEQP-GLES2.functional.fragment_ops.blend.* tests now.
Better than the blob btw...

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3411>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3411>
2020-01-16 16:43:41 +00:00
..
amd aco: ignore parallelcopies to the same register on jump threading 2020-01-16 16:01:59 +01:00
broadcom nir/lower_atomics_to_ssbo: Also lower barriers 2020-01-13 17:23:47 +00:00
compiler anv,nir: Lower quad_broadcast with dynamic index in NIR 2020-01-15 08:34:57 -06:00
drm-shim drm-shim: fix EOF case 2019-11-13 12:39:14 +00:00
egl egl/android: Restrict minimum triple buffering for android color_buffers 2020-01-15 09:42:08 +00:00
etnaviv etnaviv: add drm-shim 2019-11-21 22:56:04 +00:00
freedreno turnip: Pretend to support Vulkan 1.2 2020-01-15 08:34:57 -06:00
gallium lima: Fix alpha blending 2020-01-16 16:43:41 +00: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 dri: Avoid swapbuffer throttling in glXCopySubBufferMESA 2019-10-05 13:19:37 +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 intel/perf: report query split for mdapi 2020-01-16 15:29:40 +02:00
loader intel: Use similar brand strings to the Windows drivers 2020-01-13 19:42:35 -08:00
mapi glapi / teximage: implement EGLImageTargetTexStorageEXT 2020-01-13 14:57:18 -08:00
mesa st/mesa: Allocate full miplevels if MaxLevel is explicitly set 2020-01-16 00:06:54 -08:00
panfrost panfrost: Prefix schedule_program to prevent collision 2020-01-15 22:30:17 +00:00
util vulkan/wsi: Add a driconf option to force WSI to advertise BGRA8_UNORM first 2020-01-14 19:27:13 +00:00
vulkan vulkan/overlay: Fix for Vulkan 1.2 2020-01-15 08:34:57 -06:00
SConscript
meson.build meson: only build imgui when needed 2019-11-25 07:51:56 +00:00