summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-01-26 17:32:57 +0100
committerRoland Scheidegger <sroland@vmware.com>2010-01-26 17:32:57 +0100
commit1a9d01dcde26aee4db662deb7069fa14069062de (patch)
tree5f9310b7b6e9536a882a43815ffc0566fdabdfc2 /src/gallium/drivers/nv40
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/nv40')
-rw-r--r--src/gallium/drivers/nv40/nv40_screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv40/nv40_screen.c b/src/gallium/drivers/nv40/nv40_screen.c
index 9e55e5a089..4eab5daa80 100644
--- a/src/gallium/drivers/nv40/nv40_screen.c
+++ b/src/gallium/drivers/nv40/nv40_screen.c
@@ -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;