diff options
author | Patrice Mandin <[email protected]> | 2009-10-12 21:03:26 +0200 |
---|---|---|
committer | Patrice Mandin <[email protected]> | 2009-10-12 21:03:26 +0200 |
commit | a5348d435da7d06478adc003a07e388915a8b346 (patch) | |
tree | 986e34e4b628d09b23b3ac4814e49362f4a7c38e /src/gallium/drivers/nv30 | |
parent | 7a32c0a19e77e2e735f8d5cbc5b3bb9fda9606e5 (diff) |
Add support for more 8 and 16 bits formats
Diffstat (limited to 'src/gallium/drivers/nv30')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_miptree.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_miptree.c b/src/gallium/drivers/nv30/nv30_miptree.c index 7f8054de733..17acca61abe 100644 --- a/src/gallium/drivers/nv30/nv30_miptree.c +++ b/src/gallium/drivers/nv30/nv30_miptree.c @@ -96,6 +96,11 @@ nv30_miptree_create(struct pipe_screen *pscreen, const struct pipe_texture *pt) case PIPE_FORMAT_A8R8G8B8_UNORM: case PIPE_FORMAT_X8R8G8B8_UNORM: case PIPE_FORMAT_R16_SNORM: + case PIPE_FORMAT_R5G6B5_UNORM: + case PIPE_FORMAT_A8L8_UNORM: + case PIPE_FORMAT_A8_UNORM: + case PIPE_FORMAT_L8_UNORM: + case PIPE_FORMAT_I8_UNORM: { if (debug_get_bool_option("NOUVEAU_NO_SWIZZLE", FALSE)) mt->base.tex_usage |= NOUVEAU_TEXTURE_USAGE_LINEAR; |