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

blur: Reduce floating-point precision for UV coordinates


While blur rendering is mostly memory-bound, reducing ALU utilization is
still helpful. This doesn't result in any noticeable artifacts in the
blurred image.

When tested with 2 layers of another 6-pass blur implementation, this
saves ~50 µs of rendering time on an Adreno 640 GPU at 1440x3040
resolution.

Change-Id: I09798e0d98665b92771e601704653609a240c065
Signed-off-by: default avatarMohammad Hasan Keramat J <ikeramat@protonmail.com>
Signed-off-by: default avatarSimão Gomes Viana <devel@superboring.dev>
parent 1e45cfa9
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