diff options
author | Michal Krol <[email protected]> | 2009-12-03 11:17:37 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-12-03 11:17:37 +0100 |
commit | cceeab39ea541b1be1521114316d660a77769c2a (patch) | |
tree | 15cd3f121b20cb37edee1312bff5a7ebe4d7dd01 /src/gallium/drivers/softpipe | |
parent | 6df42d80234d13676fc3207cf44f0e371e3372b5 (diff) |
Move pf_get_bits/size() to u_format auxiliary module.
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tile_cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tile_cache.c b/src/gallium/drivers/softpipe/sp_tile_cache.c index 65872cecc4f..cde22600732 100644 --- a/src/gallium/drivers/softpipe/sp_tile_cache.c +++ b/src/gallium/drivers/softpipe/sp_tile_cache.c @@ -33,6 +33,7 @@ */ #include "pipe/p_inlines.h" +#include "util/u_format.h" #include "util/u_memory.h" #include "util/u_tile.h" #include "sp_tile_cache.h" @@ -238,7 +239,7 @@ clear_tile(struct softpipe_cached_tile *tile, { uint i, j; - switch (pf_get_size(format)) { + switch (util_format_get_size(format)) { case 1: memset(tile->data.any, clear_value, TILE_SIZE * TILE_SIZE); break; |