mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
mesa (RPi): temporarily drop B10G10R10A2 format support
This prevents kodi using 10bpc planes with only 2 bits alpha which result in poor visual quality of (semi-) transparent GUI overlays when using direct-to-plane rendering. Ideally this should be fixed in kodi but the changes are likely quite involved so just drop it in mesa with a one-liner patch for now. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
945c8f4d82
commit
11f7432d0b
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/src/gallium/drivers/v3d/v3dx_format_table.c b/src/gallium/drivers/v3d/v3dx_format_table.c
|
||||||
|
index ee88e22601b8..aacf99bce3e3 100644
|
||||||
|
--- a/src/gallium/drivers/v3d/v3dx_format_table.c
|
||||||
|
+++ b/src/gallium/drivers/v3d/v3dx_format_table.c
|
||||||
|
@@ -70,7 +70,6 @@ static const struct v3d_format format_table[] = {
|
||||||
|
FORMAT(R8G8B8A8_SNORM, NO, RGBA8_SNORM, SWIZ_XYZW, 16, 0),
|
||||||
|
FORMAT(R8G8B8X8_SNORM, NO, RGBA8_SNORM, SWIZ_XYZ1, 16, 0),
|
||||||
|
FORMAT(R10G10B10A2_UNORM, RGB10_A2, RGB10_A2, SWIZ_XYZW, 16, 0),
|
||||||
|
- FORMAT(B10G10R10A2_UNORM, RGB10_A2, RGB10_A2, SWIZ_ZYXW, 16, 0),
|
||||||
|
FORMAT(R10G10B10X2_UNORM, RGB10_A2, RGB10_A2, SWIZ_XYZ1, 16, 0),
|
||||||
|
FORMAT(B10G10R10X2_UNORM, RGB10_A2, RGB10_A2, SWIZ_ZYX1, 16, 0),
|
||||||
|
FORMAT(R10G10B10A2_UINT, RGB10_A2UI, RGB10_A2UI, SWIZ_XYZW, 16, 0),
|
Loading…
x
Reference in New Issue
Block a user