Browse Source

util: Handle the remaining formats in pipe_put_tile_rgba().

tags/7.8-rc1
Michal Krol 15 years ago
parent
commit
1433a2d935
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/gallium/auxiliary/util/u_tile.c

+ 4
- 1
src/gallium/auxiliary/util/u_tile.c View File

@@ -1357,7 +1357,10 @@ pipe_put_tile_rgba(struct pipe_transfer *pt,
/*z24s8_put_tile_rgba((unsigned *) packed, w, h, p, src_stride);*/
break;
default:
debug_printf("%s: unsupported format %s\n", __FUNCTION__, pf_name(format));
util_format_write_4f(format,
p, src_stride * sizeof(float),
packed, util_format_get_stride(format, w),
0, 0, w, h);
}

pipe_put_tile_raw(pt, x, y, w, h, packed, 0);

Loading…
Cancel
Save