diff options
author | Patrice Mandin <patmandin@gmail.com> | 2010-02-12 13:23:48 +0100 |
---|---|---|
committer | Patrice Mandin <patmandin@gmail.com> | 2010-02-12 13:23:48 +0100 |
commit | 1dd6e0b673bc0a5480a27e6f7d9b02545e65a6df (patch) | |
tree | 45227d75a4749b638ba3429c424b49d7838af989 /src | |
parent | e475ae920a4f6026b78b0bbe80c83cf4060f610e (diff) |
nouveau: nv30: Define number of texture samplers
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_screen.c b/src/gallium/drivers/nv30/nv30_screen.c index 8f9b26ea56..1caeccc05f 100644 --- a/src/gallium/drivers/nv30/nv30_screen.c +++ b/src/gallium/drivers/nv30/nv30_screen.c @@ -64,6 +64,8 @@ nv30_screen_get_param(struct pipe_screen *pscreen, int param) case NOUVEAU_CAP_HW_VTXBUF: case NOUVEAU_CAP_HW_IDXBUF: return 1; + case PIPE_CAP_MAX_COMBINED_SAMPLERS: + return 4; case PIPE_CAP_INDEP_BLEND_ENABLE: return 0; case PIPE_CAP_INDEP_BLEND_FUNC: |