diff options
author | Roland Scheidegger <[email protected]> | 2009-11-30 23:02:49 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2009-11-30 23:02:49 +0100 |
commit | decf6ed810eae473d043a4a399a5a84f1378a725 (patch) | |
tree | a2e46901a82a9e166d3416f27c755c7a4b7430ed /src/gallium/drivers/trace/tr_rbug.c | |
parent | ac400ffce62be47fc77e8d10cabcd39b92b6c627 (diff) |
fixups for interface changes (mostly state trackers)
Diffstat (limited to 'src/gallium/drivers/trace/tr_rbug.c')
-rw-r--r-- | src/gallium/drivers/trace/tr_rbug.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gallium/drivers/trace/tr_rbug.c b/src/gallium/drivers/trace/tr_rbug.c index b59458c0e37..af1d7f3224e 100644 --- a/src/gallium/drivers/trace/tr_rbug.c +++ b/src/gallium/drivers/trace/tr_rbug.c @@ -203,7 +203,9 @@ trace_rbug_texture_info(struct trace_rbug *tr_rbug, struct rbug_header *header, &t->width0, 1, &t->height0, 1, &t->depth0, 1, - t->block.width, t->block.height, t->block.size, + pf_get_blockwidth(t->format), + pf_get_blockheight(t->format), + pf_get_blocksize(t->format), t->last_level, t->nr_samples, t->tex_usage, @@ -251,9 +253,12 @@ trace_rbug_texture_read(struct trace_rbug *tr_rbug, struct rbug_header *header, map = screen->transfer_map(screen, t); rbug_send_texture_read_reply(tr_rbug->con, serial, - t->format, - t->block.width, t->block.height, t->block.size, - (uint8_t*)map, t->stride * t->nblocksy, + t->texture->format, + pf_get_blockwidth(t->texture->format), + pf_get_blockheight(t->texture->format), + pf_get_blocksize(t->texture->format), + (uint8_t*)map, + t->stride * pf_get_nblocksy(t->texture->format, t->height), t->stride, NULL); |