aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima
diff options
context:
space:
mode:
authorVasily Khoruzhick <[email protected]>2020-01-08 21:10:33 -0800
committerVasily Khoruzhick <[email protected]>2020-01-09 18:46:08 -0800
commit438c677859789d5dc5ac69471ed23c83e02f3fe1 (patch)
tree4532351adbd678068f099787afde9ea7fae43ebe /src/gallium/drivers/lima
parent9b711714425ddc6ebe8497e155d0f6530c3ab4c8 (diff)
lima: drop support for R8G8B8 format
We can only sample from 24-bit packed format and can't render into it and it causes chromium-based browsers to fail when they create FBO with GL_RGB format. Drop R8G8B8 alltogether so mesa can promote it to RGBX format. Reviewed-by: Qiang Yu <[email protected]> Signed-off-by: Vasily Khoruzhick <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima')
-rw-r--r--src/gallium/drivers/lima/lima_format.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/lima/lima_format.c b/src/gallium/drivers/lima/lima_format.c
index a599ee67eec..f7e4d66e148 100644
--- a/src/gallium/drivers/lima/lima_format.c
+++ b/src/gallium/drivers/lima/lima_format.c
@@ -69,7 +69,6 @@ static const struct lima_format lima_format_table[] = {
LIMA_FORMAT(B8G8R8A8_SRGB, RGBA_8888, B8G8R8A8, false),
LIMA_FORMAT(R8G8B8X8_UNORM, RGBX_8888, B8G8R8A8, true),
LIMA_FORMAT(B8G8R8X8_UNORM, RGBX_8888, B8G8R8A8, false),
- LIMA_FORMAT(R8G8B8_UNORM, RGB_888, NONE, true),
LIMA_FORMAT(B5G6R5_UNORM, BGR_565, B5G6R5, false),
LIMA_FORMAT(Z24_UNORM_S8_UINT, Z24S8, Z24S8, false),
LIMA_FORMAT(Z24X8_UNORM, Z24S8, Z24S8, false),