Skip to content
Snippets Groups Projects
Unverified Commit 43710493 authored by Danny Lin's avatar Danny Lin Committed by Simão Gomes Viana
Browse files

blur: Skip processing of alpha channel by swizzling RGB


This reduces ALU utilization by avoiding unnecessary calculations that
are discarded in the final fragment color. This saves ~100 µs in another
6-pass blur implementation.

Change-Id: I4ec24518eefce369dbb592ac03a14caeea86df9a
Signed-off-by: default avatarMohammad Hasan Keramat J <ikeramat@protonmail.com>
Signed-off-by: default avatarSimão Gomes Viana <devel@superboring.dev>
parent 6baa812c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment