OSDN Git Service

i965: Add B8G8R8X8_SRGB to the alpha format override
authorNeil Roberts <neil@linux.intel.com>
Fri, 11 Dec 2015 12:32:17 +0000 (12:32 +0000)
committerNeil Roberts <neil@linux.intel.com>
Sun, 13 Dec 2015 14:29:41 +0000 (14:29 +0000)
commit43f4be5f06b7a96b96a3a7b43f5112139a1f423a
tree1ac3d7e2602d186c8324a204315133c75419724f
parentc769efda939e06338d41e1046a5f954c690951d5
i965: Add B8G8R8X8_SRGB to the alpha format override

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" <mesa-stable@lists.freedesktop.org>
Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_surface_formats.c