Commit 88e95825 authored by Jakob Bornecrantz's avatar Jakob Bornecrantz

st/mesa: Also use PIPE_FORMAT_R8G8B8A8_SRGB for framebuffer_sRGB.

When running virgl on a GLES host the only sRGB formats that support
rendering is RGBA and RGBX. That pipe format is in the sRGB default
lists that the state tracker uses when mapping mesa formats.
Reviewed-by: Brian Paul's avatarBrian Paul <>
Signed-off-by: Jakob Bornecrantz's avatarJakob Bornecrantz <>
parent 78c18d99
......@@ -711,7 +711,8 @@ void st_init_extensions(struct pipe_screen *screen,
{ { o(EXT_framebuffer_sRGB) },
GL_TRUE }, /* at least one format must be supported */
{ { o(EXT_packed_float) },
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment