projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b71171
)
lima: drop support for R8G8B8 format
author
Vasily Khoruzhick
<anarsoul@gmail.com>
Thu, 9 Jan 2020 05:10:33 +0000
(21:10 -0800)
committer
Vasily Khoruzhick
<anarsoul@gmail.com>
Fri, 10 Jan 2020 02:46:08 +0000
(18:46 -0800)
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 <yuq825@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/lima_format.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/lima/lima_format.c
b/src/gallium/drivers/lima/lima_format.c
index a599ee67eec2b41699537c8aa733966b4c2e8ebe..f7e4d66e148fa759fc9d3aaccb6531fe5ba96f54 100644
(file)
--- 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),