Mesa (vulkan): i965/surface_formats: Mark A4B4G4R4_UNORM as SKL+ only

Jason Ekstrand jekstrand at kemper.freedesktop.org
Fri Apr 15 20:42:52 UTC 2016


Module: Mesa
Branch: vulkan
Commit: add5941e2904499f7c667dd394db9ed9d6bfe493
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=add5941e2904499f7c667dd394db9ed9d6bfe493

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Apr 15 09:48:56 2016 -0700

i965/surface_formats: Mark A4B4G4R4_UNORM as SKL+ only

This is what is indicated by the bspec.

---

 src/mesa/drivers/dri/i965/brw_surface_formats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_surface_formats.c b/src/mesa/drivers/dri/i965/brw_surface_formats.c
index 61e1408..7ff15cc 100644
--- a/src/mesa/drivers/dri/i965/brw_surface_formats.c
+++ b/src/mesa/drivers/dri/i965/brw_surface_formats.c
@@ -204,7 +204,7 @@ const struct brw_surface_format_info surface_formats[] = {
    SF(50, 50,  x,  x,  x,  x,  x,  x,  x,    x,   P8A8_UNORM_PALETTE0)
    SF(50, 50,  x,  x,  x,  x,  x,  x,  x,    x,   P8A8_UNORM_PALETTE1)
    SF( x,  x,  x,  x,  x,  x,  x,  x,  x,    x,   A1B5G5R5_UNORM)
-   SF( Y,  Y,  x,  Y, 90,  x,  x,  x,  x,    x,   A4B4G4R4_UNORM)
+   SF(90, 90,  x,  x, 90,  x,  x,  x,  x,    x,   A4B4G4R4_UNORM)
    SF( x,  x,  x,  x,  x,  x,  x,  x,  x,    x,   L8A8_UINT)
    SF( x,  x,  x,  x,  x,  x,  x,  x,  x,    x,   L8A8_SINT)
    SF( Y,  Y,  x, 45,  Y,  Y,  Y,  x,  x,    x,   R8_UNORM)




More information about the mesa-commit mailing list