diff options
author | Younes Manton <[email protected]> | 2008-12-05 02:21:55 -0500 |
---|---|---|
committer | Younes Manton <[email protected]> | 2009-01-10 13:52:04 -0500 |
commit | 72aa42e59468817798484defe5b3f6dfec0d33e3 (patch) | |
tree | 7b32221d1cfe2958c62d887a87f504ed03887b34 /src/gallium/drivers/nv40 | |
parent | 7844b4e730604e613a88f536c4aeee5c02d300fd (diff) |
nouveau: Swizzle textures larger than nv04 SIFM limit in parts.
Limit of SIFM on nv40 is 1024x1024, not sure about others.
Diffstat (limited to 'src/gallium/drivers/nv40')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_miptree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv40/nv40_miptree.c b/src/gallium/drivers/nv40/nv40_miptree.c index b68967c07fd..36e08e73b96 100644 --- a/src/gallium/drivers/nv40/nv40_miptree.c +++ b/src/gallium/drivers/nv40/nv40_miptree.c @@ -80,8 +80,7 @@ nv40_miptree_create(struct pipe_screen *pscreen, const struct pipe_texture *pt) /* TODO: Figure out which formats can be swizzled */ case PIPE_FORMAT_A8R8G8B8_UNORM: case PIPE_FORMAT_X8R8G8B8_UNORM: - /* XXX: Re-enable when SIFM size limits are fixed */ - /*case PIPE_FORMAT_R16_SNORM:*/ + case PIPE_FORMAT_R16_SNORM: break; default: mt->base.tex_usage |= NOUVEAU_TEXTURE_USAGE_LINEAR; |