svga: fix the missing devcap for SVGA3D_BC3_UNORM_SRGB
authorCharmaine Lee <charmainel@vmware.com>
Wed, 29 Nov 2017 21:27:58 +0000 (13:27 -0800)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
Set the devcap to SVGA3D_DEVCAP_DXFMT_BC3_UNORM_SRGB

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_format.c

index 59cf41d264e71d5791da0776b37f22ab7f16511e..e3ca2f45f7a969a54ee631aa708f74e2ab215a18 100644 (file)
@@ -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
    },
    {