projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfbbe24
)
i965g: util_format_is_compressed() -> util_format_is_s3tc().
author
José Fonseca
<jfonseca@vmware.com>
Mon, 29 Mar 2010 16:31:16 +0000
(17:31 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 29 Mar 2010 16:31:34 +0000
(17:31 +0100)
src/gallium/drivers/i965/brw_screen_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965/brw_screen_texture.c
b/src/gallium/drivers/i965/brw_screen_texture.c
index cadcb7cee2a33142cb84a2c8cc9f3be5abc2a4ca..f9f17bdabac917d448739dc588efd8a06db013d9 100644
(file)
--- 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);