diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-22 09:37:26 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-22 09:37:26 -0600 |
commit | 70eb7996f265f3634dabda078f13d1be3533cc65 (patch) | |
tree | 30148a72c347274cafa3386accb22aae4c1f9c7a /src/mesa/pipe/softpipe/sp_tile_cache.h | |
parent | ec3bd21c465f27d0a8e313e00338109d21019fc0 (diff) |
Finish unifying the surface and texture tile caches.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_tile_cache.h')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_tile_cache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_tile_cache.h b/src/mesa/pipe/softpipe/sp_tile_cache.h index 9879b1821c..a1cc387a12 100644 --- a/src/mesa/pipe/softpipe/sp_tile_cache.h +++ b/src/mesa/pipe/softpipe/sp_tile_cache.h @@ -79,8 +79,9 @@ sp_clear_tile_cache(struct softpipe_tile_cache *tc, unsigned clearval); extern struct softpipe_cached_tile * sp_get_cached_tile(struct softpipe_tile_cache *tc, int x, int y); -extern struct softpipe_cached_tile * -sp_get_cached_tile_tex(struct softpipe_tile_cache *tc, int x, int y, int z, +extern const struct softpipe_cached_tile * +sp_get_cached_tile_tex(struct pipe_context *pipe, + struct softpipe_tile_cache *tc, int x, int y, int z, int face, int level); |