diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2018-11-15 16:40:46 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2018-11-20 10:14:37 +0100 |
commit | 13c94a373b4858a2d2aa14c22b5f98d53c84c0d9 (patch) | |
tree | 8d38cab64ebc51787c9e1ec0755415f2b4afedfc /src/amdgpu_bo_helper.h | |
parent | 51ba6dddee40c3688d4c7b12eabeab516ed153b7 (diff) |
Skip gamma correction of cursor data if premultiplied R/G/B > alpha
The un-premultiplied R/G/B values would overflow the gamma LUT, so just
pass through the data unchanged, and leave it up to the HW how to
interpret such weird premultiplied alpha pixels.
Bugzilla: https://bugs.freedesktop.org/108355
Diffstat (limited to 'src/amdgpu_bo_helper.h')
0 files changed, 0 insertions, 0 deletions