summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_screen.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-01-26 17:32:57 +0100
committerRoland Scheidegger <[email protected]>2010-01-26 17:32:57 +0100
commit1a9d01dcde26aee4db662deb7069fa14069062de (patch)
tree5f9310b7b6e9536a882a43815ffc0566fdabdfc2 /src/gallium/drivers/nv30/nv30_screen.c
parent786bd78be4a412e58ded6eed1d6d3e4a61b1ba2b (diff)
gallium: add the new PIPE_CAP blend bits to more drivers
some drivers will complain if they don't know the cap bit
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_screen.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_screen.c b/src/gallium/drivers/nv30/nv30_screen.c
index 9ed48178dc2..8f8f3ea1a9f 100644
--- a/src/gallium/drivers/nv30/nv30_screen.c
+++ b/src/gallium/drivers/nv30/nv30_screen.c
@@ -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;