diff options
author | José Fonseca <[email protected]> | 2010-04-22 19:23:40 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-04-22 19:25:00 +0100 |
commit | ccdc6b5913885866e100780bfd661672c9a5d23c (patch) | |
tree | b0db819abfffdd984a52e34f2149e3690eda4728 /src/gallium/drivers/llvmpipe/lp_tile_image.h | |
parent | 18a4a83ddab7655253fdb71d37393a32adcda488 (diff) |
llvmpipe: Fix rendering to non 32bpp formats.
Tiled layout always used 32bpp, therefore linear/tiled strides are not
related.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_tile_image.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_tile_image.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_tile_image.h b/src/gallium/drivers/llvmpipe/lp_tile_image.h index d74621925d5..8de8efc6c16 100644 --- a/src/gallium/drivers/llvmpipe/lp_tile_image.h +++ b/src/gallium/drivers/llvmpipe/lp_tile_image.h @@ -33,14 +33,18 @@ void lp_tiled_to_linear(const void *src, void *dst, unsigned x, unsigned y, unsigned width, unsigned height, - enum pipe_format format, unsigned dst_stride); + enum pipe_format format, + unsigned dst_stride, + unsigned tiles_per_row); void lp_linear_to_tiled(const void *src, void *dst, unsigned x, unsigned y, unsigned width, unsigned height, - enum pipe_format format, unsigned src_stride); + enum pipe_format format, + unsigned src_stride, + unsigned tiles_per_row); void |