Move the remaining format pf_get_* functions to u_format.h.

Previously they depended on format blocks, but after removing those
they started depending on format encoding.
This commit is contained in:
Michal Krol
2009-12-17 23:41:57 +01:00
parent ec5577a83d
commit b1ed72ebe2
50 changed files with 322 additions and 360 deletions

View File

@@ -239,7 +239,7 @@ clear_tile(struct softpipe_cached_tile *tile,
{
uint i, j;
switch (util_format_get_size(format)) {
switch (util_format_get_blocksize(format)) {
case 1:
memset(tile->data.any, clear_value, TILE_SIZE * TILE_SIZE);
break;