diff options
author | Brian Paul <[email protected]> | 2009-01-02 16:55:33 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-02 16:55:33 -0700 |
commit | 19aed38919d43179a9f9cb0096aba981fabc4481 (patch) | |
tree | c704c1f41920eaa2194f407dc432c93b48c9667b /src/gallium | |
parent | d917ad5dbd17f2399a5a3590fe6c06a64d683771 (diff) |
softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16)
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 12f98c32f53..11b08b3a82d 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -55,9 +55,9 @@ softpipe_get_param(struct pipe_screen *screen, int param) { switch (param) { case PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS: - return 8; + return PIPE_MAX_SAMPLERS; case PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS: - return 8; + return PIPE_MAX_SAMPLERS; case PIPE_CAP_NPOT_TEXTURES: return 1; case PIPE_CAP_TWO_SIDED_STENCIL: |