gallium: add the new PIPE_CAP blend bits to more drivers
authorRoland Scheidegger <sroland@vmware.com>
Tue, 26 Jan 2010 16:32:57 +0000 (17:32 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 26 Jan 2010 16:32:57 +0000 (17:32 +0100)
some drivers will complain if they don't know the cap bit

src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/nv04/nv04_screen.c
src/gallium/drivers/nv10/nv10_screen.c
src/gallium/drivers/nv20/nv20_screen.c
src/gallium/drivers/nv30/nv30_screen.c
src/gallium/drivers/nv40/nv40_screen.c
src/gallium/drivers/nv50/nv50_screen.c

index 9b47415f003350c7592894fb6338f50c7943e2b6..f04c0320ba06a80a76984d099801347490921e52 100644 (file)
@@ -110,6 +110,10 @@ llvmpipe_get_param(struct pipe_screen *screen, int param)
       return 1;
    case PIPE_CAP_BLEND_EQUATION_SEPARATE:
       return 1;
+   case PIPE_CAP_INDEP_BLEND_ENABLE:
+      return 0;
+   case PIPE_CAP_INDEP_BLEND_FUNC:
+      return 0;
    default:
       return 0;
    }
index 7c5b6e8229ae1d8f3ad4b5bf5cdf1f64acc47726..4eba7725753626eb0a7fffe3d8683fb7d41cd575 100644 (file)
@@ -45,6 +45,10 @@ nv04_screen_get_param(struct pipe_screen *screen, int param)
        case NOUVEAU_CAP_HW_VTXBUF:
        case NOUVEAU_CAP_HW_IDXBUF:
                return 0;
+       case PIPE_CAP_INDEP_BLEND_ENABLE:
+               return 0;
+       case PIPE_CAP_INDEP_BLEND_FUNC:
+               return 0;
        default:
                NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
                return 0;
index 69a6dab866a6f3c2c6e0f74f0672f2fa6cd92b7e..2dabc4509fb4011debb5b56b68c3b93b9b6bdb8b 100644 (file)
@@ -40,6 +40,10 @@ nv10_screen_get_param(struct pipe_screen *screen, int param)
        case NOUVEAU_CAP_HW_VTXBUF:
        case NOUVEAU_CAP_HW_IDXBUF:
                return 0;
+       case PIPE_CAP_INDEP_BLEND_ENABLE:
+               return 0;
+       case PIPE_CAP_INDEP_BLEND_FUNC:
+               return 0;
        default:
                NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
                return 0;
index d091335063b9ba668b73a012966b5f95764fcd84..7782cbe3a8ecb9d2a05b7dc420a55b4d01a170fe 100644 (file)
@@ -40,6 +40,10 @@ nv20_screen_get_param(struct pipe_screen *screen, int param)
        case NOUVEAU_CAP_HW_VTXBUF:
        case NOUVEAU_CAP_HW_IDXBUF:
                return 0;
+       case PIPE_CAP_INDEP_BLEND_ENABLE:
+               return 0;
+       case PIPE_CAP_INDEP_BLEND_FUNC:
+               return 0;
        default:
                NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
                return 0;
index 9ed48178dc2b6d12bf26c8f41abcb6b64e1a4325..8f8f3ea1a9f8403abac3b7b128914f6ca0c20aed 100644 (file)
@@ -67,6 +67,10 @@ nv30_screen_get_param(struct pipe_screen *pscreen, int param)
        case NOUVEAU_CAP_HW_VTXBUF:
        case NOUVEAU_CAP_HW_IDXBUF:
                return 1;
+       case PIPE_CAP_INDEP_BLEND_ENABLE:
+               return 0;
+       case PIPE_CAP_INDEP_BLEND_FUNC:
+               return 0;
        default:
                NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
                return 0;
index 9e55e5a089c6eb46790c44b9e7902bc593fa1188..4eab5daa80c68143d0aeeeedeb30e2cc6f7ba70b 100644 (file)
@@ -52,6 +52,10 @@ nv40_screen_get_param(struct pipe_screen *pscreen, int param)
                if (screen->curie->grclass == NV40TCL)
                        return 1;
                return 0;
+       case PIPE_CAP_INDEP_BLEND_ENABLE:
+               return 0;
+       case PIPE_CAP_INDEP_BLEND_FUNC:
+               return 0;
        default:
                NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
                return 0;
index 9d58f3c9651552a7cf5f7a8f335527a355a8f26e..399246938377500298c7af31b0129d53543c9c10 100644 (file)
@@ -135,6 +135,10 @@ nv50_screen_get_param(struct pipe_screen *pscreen, int param)
                return 1;
        case NOUVEAU_CAP_HW_IDXBUF:
                return 0;
+       case PIPE_CAP_INDEP_BLEND_ENABLE:
+               return 0;
+       case PIPE_CAP_INDEP_BLEND_FUNC:
+               return 0;
        default:
                NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
                return 0;