Telegram (Android App) shows high cpu usage under virgl. It turns out when the guest send blend_mode via alpha_src_factor, BLEND_SOFTLIGHT (0x9) would be treated as PIPE_BLENDFACTOR_SRC1_COLOR (0x9). The dual_src didn't match dual_src_linked and virgl keeps linking the same program. Fix the logic to calculate dual_src to make it as close as possible to calculate dual_src_linked. Signed-off-by: Lepton Wu <lepton@chromium.org> Reviewed-by: Gert Wollny <gert.wollny@collabora.com>macos/master
parent
3b393c1171
commit
00b2cb688c
Loading…
Reference in new issue