projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28cf5e1
)
svga: util_format_is_compressed() -> util_format_is_s3tc().
author
José Fonseca
<jfonseca@vmware.com>
Mon, 29 Mar 2010 16:30:35 +0000
(17:30 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 29 Mar 2010 16:31:34 +0000
(17:31 +0100)
src/gallium/drivers/svga/svga_screen_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_screen_texture.c
b/src/gallium/drivers/svga/svga_screen_texture.c
index 4a058eda885a129c636f4198148cc108cc764aab..70d3a8a46ae67d45f7f5a540d6da2424cc51513c 100644
(file)
--- a/
src/gallium/drivers/svga/svga_screen_texture.c
+++ b/
src/gallium/drivers/svga/svga_screen_texture.c
@@
-330,7
+330,7
@@
svga_texture_create(struct pipe_screen *screen,
*/
#if 0
if((templat->tex_usage & PIPE_TEXTURE_USAGE_RENDER_TARGET) &&
- !util_format_is_
compressed
(templat->format))
+ !util_format_is_
s3tc
(templat->format))
tex->key.flags |= SVGA3D_SURFACE_HINT_RENDERTARGET;
#endif
@@
-969,7
+969,7
@@
svga_get_tex_sampler_view(struct pipe_context *pipe, struct pipe_texture *pt,
if (min_lod == 0 && max_lod >= pt->last_level)
view = FALSE;
- if (util_format_is_
compressed
(pt->format) && view) {
+ if (util_format_is_
s3tc
(pt->format) && view) {
format = svga_translate_format_render(pt->format);
}