gallium: interface cleanups, remove nblocksx/y from pipe_texture and more
This patch removes nblocksx, nblocksy arrays from pipe_texture (can be recalculated if needed). Furthermore, pipe_format_block struct is gone completely (again, contains just derived state). nblocksx, nblocksy, block are also removed from pipe_transfer, together with the format enum (can be obtained from the texture associated with the transfer).
This commit is contained in:
@@ -669,10 +669,10 @@ void debug_dump_surface(const char *prefix,
|
||||
goto error;
|
||||
|
||||
debug_dump_image(prefix,
|
||||
transfer->format,
|
||||
transfer->block.size,
|
||||
transfer->nblocksx,
|
||||
transfer->nblocksy,
|
||||
texture->format,
|
||||
pf_get_blocksize(texture->format),
|
||||
pf_get_nblocksx(texture->format, transfer->width),
|
||||
pf_get_nblocksy(texture->format, transfer->height),
|
||||
transfer->stride,
|
||||
data);
|
||||
|
||||
|
Reference in New Issue
Block a user