diff options
author | Christoph Bumiller <[email protected]> | 2012-04-14 02:39:16 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-14 02:40:30 +0200 |
commit | 802d02c453486936053c75323ce5128ae2f158d6 (patch) | |
tree | 2e8f1f2d125f34c42c47ede1a3e11edae9d54979 /src/gallium/drivers | |
parent | 42ec248eb7113595a485e205031d10ae2c6da8b1 (diff) |
nv50,nvc0: handle PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_screen.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_screen.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c index 8a3c552784f..f45fd2cde22 100644 --- a/src/gallium/drivers/nv50/nv50_screen.c +++ b/src/gallium/drivers/nv50/nv50_screen.c @@ -111,6 +111,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 120; case PIPE_CAP_MAX_RENDER_TARGETS: return 8; + case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: + return 1; case PIPE_CAP_FRAGMENT_COLOR_CLAMPED: case PIPE_CAP_VERTEX_COLOR_UNCLAMPED: case PIPE_CAP_VERTEX_COLOR_CLAMPED: diff --git a/src/gallium/drivers/nvc0/nvc0_screen.c b/src/gallium/drivers/nvc0/nvc0_screen.c index f314cb631f2..94a16b5068c 100644 --- a/src/gallium/drivers/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nvc0/nvc0_screen.c @@ -101,6 +101,8 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 150; case PIPE_CAP_MAX_RENDER_TARGETS: return 8; + case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: + return 1; case PIPE_CAP_FRAGMENT_COLOR_CLAMPED: case PIPE_CAP_VERTEX_COLOR_UNCLAMPED: case PIPE_CAP_VERTEX_COLOR_CLAMPED: |