i965: Unset alpha blend for R10G10B10_SNORM_A2_UNORM
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 3 May 2016 17:06:29 +0000 (10:06 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Tue, 24 May 2016 00:26:17 +0000 (17:26 -0700)
This format does not support alpha blending, according to the SNB PRM.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_surface_formats.c

index 16667b9824ee7c8b86f11877f5372221d070f5d3..8592c3bbbc4a13efb5c58aa7b82460cb9fd91e4b 100644 (file)
@@ -125,7 +125,7 @@ const struct brw_surface_format_info surface_formats[] = {
    SF( Y,  Y,  x,  x,  Y,  Y,  Y,  x, 60,    x,   R10G10B10A2_UNORM)
    SF( Y,  Y,  x,  x,  x,  x,  x,  x, 60,    x,   R10G10B10A2_UNORM_SRGB)
    SF( Y,  x,  x,  x,  Y,  x,  Y,  x,  x,    x,   R10G10B10A2_UINT)
-   SF( Y,  Y,  x,  x,  x,  Y,  Y,  x,  x,    x,   R10G10B10_SNORM_A2_UNORM)
+   SF( Y,  Y,  x,  x,  x,  x,  Y,  x,  x,    x,   R10G10B10_SNORM_A2_UNORM)
    SF( Y,  Y,  x,  x,  Y,  Y,  Y,  x, 60,   90,   R8G8B8A8_UNORM)
    SF( Y,  Y,  x,  x,  Y,  Y,  x,  x, 60,    x,   R8G8B8A8_UNORM_SRGB)
    SF( Y,  Y,  x,  x,  Y, 60,  Y,  x,  x,   90,   R8G8B8A8_SNORM)