diff options
author | Ilia Mirkin <[email protected]> | 2014-02-11 00:42:26 -0500 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-02-11 22:08:01 +0000 |
commit | 908a711313b7b87c6475a2635af83341559406d2 (patch) | |
tree | 93b7609a0e0e22bb28440a54bf6a69f1663b9cb1 /src/gallium/drivers/nouveau/nvc0 | |
parent | 82cd6e6317dc9f2c66bee1fcc0521c97afcadd75 (diff) |
nv30,nvc0: only claim a single viewport
It should be possible to make this be 16 on nvc0.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index f84c41b4979..28d9be24bbe 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -175,6 +175,8 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return PIPE_ENDIAN_LITTLE; case PIPE_CAP_TGSI_VS_LAYER: return 0; + case PIPE_CAP_MAX_VIEWPORTS: + return 1; default: NOUVEAU_ERR("unknown PIPE_CAP %d\n", param); return 0; |