summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_tex_tile_cache.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-12-16 18:17:20 -0700
committerBrian Paul <brianp@vmware.com>2010-12-16 18:18:57 -0700
commit42a0967a36ff3331de96289125243e6afeb5d560 (patch)
tree78143ad66ace38a2fa024e226742dd3576fefd36 /src/gallium/drivers/softpipe/sp_tex_tile_cache.h
parent9d9f8aba0aa51f707ac1d451fb8a89bb95676ab1 (diff)
softpipe: remove sp_tex_tile_cache_border_color()
With swizzling done at the end of texture sampling, we can greatly simplify swizzling of the border color. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32460
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_tex_tile_cache.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_tex_tile_cache.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tex_tile_cache.h b/src/gallium/drivers/softpipe/sp_tex_tile_cache.h
index e0b66bf3f7..2220955b71 100644
--- a/src/gallium/drivers/softpipe/sp_tex_tile_cache.h
+++ b/src/gallium/drivers/softpipe/sp_tex_tile_cache.h
@@ -95,8 +95,6 @@ struct softpipe_tex_tile_cache
unsigned format;
struct softpipe_tex_cached_tile *last_tile; /**< most recently retrieved tile */
-
- float swz_border_color[4]; /**< swizzled border color */
};
@@ -161,10 +159,5 @@ sp_get_cached_tile_tex(struct softpipe_tex_tile_cache *tc,
}
-const float *
-sp_tex_tile_cache_border_color(struct softpipe_tex_tile_cache *tc,
- const float border_color[4]);
-
-
#endif /* SP_TEX_TILE_CACHE_H */