From: Charmaine Lee Date: Wed, 29 Nov 2017 21:27:58 +0000 (-0800) Subject: svga: fix the missing devcap for SVGA3D_BC3_UNORM_SRGB X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59a56ca1c802f22bd260e7655af9bf72ba4c5b94;p=mesa.git svga: fix the missing devcap for SVGA3D_BC3_UNORM_SRGB Set the devcap to SVGA3D_DEVCAP_DXFMT_BC3_UNORM_SRGB Reviewed-by: Brian Paul Reviewed-by: Neha Bhende --- diff --git a/src/gallium/drivers/svga/svga_format.c b/src/gallium/drivers/svga/svga_format.c index 59cf41d264e..e3ca2f45f7a 100644 --- a/src/gallium/drivers/svga/svga_format.c +++ b/src/gallium/drivers/svga/svga_format.c @@ -1287,6 +1287,7 @@ static const struct format_cap format_cap_table[] = { { "SVGA3D_BC3_UNORM_SRGB", SVGA3D_BC3_UNORM_SRGB, + SVGA3D_DEVCAP_DXFMT_BC3_UNORM_SRGB, 4, 4, 16, 0 }, {