summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_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/nv40/nv40_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/nv40/nv40_screen.c')
-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 9e55e5a089c..4eab5daa80c 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;