summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-03-29 17:31:16 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-03-29 17:31:34 +0100
commitf3cb08f3dd81bc6479e8aa926fb74e73bb83cb6f (patch)
tree966a8d038ab4b8a5c6cb4fdbe4e2474f135bec3e
parentcfbbe244d7438a60d389ae9d996dd430f79f362f (diff)
i965g: util_format_is_compressed() -> util_format_is_s3tc().
-rw-r--r--src/gallium/drivers/i965/brw_screen_texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_screen_texture.c b/src/gallium/drivers/i965/brw_screen_texture.c
index cadcb7cee2..f9f17bdaba 100644
--- a/src/gallium/drivers/i965/brw_screen_texture.c
+++ b/src/gallium/drivers/i965/brw_screen_texture.c
@@ -206,7 +206,7 @@ static struct pipe_texture *brw_texture_create( struct pipe_screen *screen,
/* XXX: compressed textures need special treatment here
*/
tex->cpp = util_format_get_blocksize(tex->base.format);
- tex->compressed = util_format_is_compressed(tex->base.format);
+ tex->compressed = util_format_is_s3tc(tex->base.format);
make_empty_list(&tex->views[0]);
make_empty_list(&tex->views[1]);
@@ -321,7 +321,7 @@ brw_texture_from_handle(struct pipe_screen *screen,
templ->depth0 != 1)
return NULL;
- if (util_format_is_compressed(templ->format))
+ if (util_format_is_s3tc(templ->format))
return NULL;
tex = CALLOC_STRUCT(brw_texture);