https://bugs.kde.org/show_bug.cgi?id=410918

Tymond <tamtamy.tym...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/kde/
                   |                            |krita/commit/2f976a938a8f8e
                   |                            |7721bc5d9393289ff98b55b552
         Resolution|---                         |FIXED

--- Comment #3 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit 2f976a938a8f8e7721bc5d9393289ff98b55b552 by Agata Cacko.
Committed on 05/10/2019 at 12:16.
Pushed by tymond into branch 'master'.

Fix Rec2020 display format

This commit contains changes to smpte shader to fix the black screen
in Rec2020 display format on Windows.
Before this commit it was broken because of two things:
- r=pow(x, y) in ANGLE is compiled into t=log(x); t=t*y; r=e^t
which in case of 0 resulted in undefined behaviour, in this case...
alpha = 1.0, even though the line was: pow(0, 1), qhich means
the correct result should be 0.0, not 1.0.
- changed order of painting UI and canvas; before it was first UI,
then canvas. After the order was reversed, so the 0.0 alpha started
to be crucial for canvas to be shown from underneath the UI.

Co-Authored-By:  Dmitry Kazakov <dimul...@gmail.com>

A  +40   -0    3rdparty/ext_qt/0009-Fix-Rec2020-display-format.patch
M  +1    -0    3rdparty/ext_qt/CMakeLists.txt

https://invent.kde.org/kde/krita/commit/2f976a938a8f8e7721bc5d9393289ff98b55b552

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to