i965: Add B8G8R8X8_SRGB to the alpha format override

Graphics / Mesa 3D Graphics Library / Mesa - Neil Roberts [linux.intel.com] - 13 December 2015 08:29 UTC

brw_init_surface_formats overrides the render format for RGBX formats which aren't supported for rendering so that they internally use RGBA instead. However, B8G8R8X8_SRGB was missing so it wasn't marked as a renderable format. This patch just adds it.

Cc: "11.0 11.1" Cc: Ilia Mirkin

43f4be5 i965: Add B8G8R8X8_SRGB to the alpha format override
src/mesa/drivers/dri/i965/brw_surface_formats.c | 4 ++++
1 file changed, 4 insertions(+)

Upstream: cgit.freedesktop.org


  • Share