summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_screen.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-06-03 17:41:53 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-06-03 17:46:47 +0200
commitc674ce5e3a7023124c7d6936d3a65ec54cb37347 (patch)
treeaa7178899db876ebc065fa8942c7ce8de75eecf5 /src/gallium/drivers/r600/r600_screen.c
parent992382762a74fd834926fd2c3cd9e14a186e2dd5 (diff)
r600g: adapt to interface changes
r600g should be able to handle separate depth stencil clears as well. Also adapt surface_fill/copy stubs to new interface (not that it matters).
Diffstat (limited to 'src/gallium/drivers/r600/r600_screen.c')
-rw-r--r--src/gallium/drivers/r600/r600_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_screen.c b/src/gallium/drivers/r600/r600_screen.c
index 7d39184d90..1d83383fd9 100644
--- a/src/gallium/drivers/r600/r600_screen.c
+++ b/src/gallium/drivers/r600/r600_screen.c
@@ -91,6 +91,8 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
case PIPE_CAP_INDEP_BLEND_FUNC:
/* FIXME allow this */
return 0;
+ case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
+ return 1;
case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT:
case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER:
return 1;