diff options
author | Roland Scheidegger <[email protected]> | 2012-11-29 04:08:32 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2012-11-29 15:30:19 +0100 |
commit | 6d50148742512606f2abd76a2dcef6c87a5c7471 (patch) | |
tree | b4462102a3c05026995126a4e10f717923a0eb0b /src/gallium/drivers/llvmpipe/lp_texture.h | |
parent | 95e03914d82f4a3722cda00cd6eda54a6f328a73 (diff) |
llvmpipe: support array textures
This adds array (1d,2d) texture support to llvmpipe.
Though probably should do something about 1d array textures requiring gobs
of memory (this issue is not strictly limited to arrays but it is probably
worse there).
Initial code by Jakob Bornecrantz <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_texture.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.h b/src/gallium/drivers/llvmpipe/lp_texture.h index c2f2ee8d22b..97a5547bd89 100644 --- a/src/gallium/drivers/llvmpipe/lp_texture.h +++ b/src/gallium/drivers/llvmpipe/lp_texture.h @@ -88,7 +88,7 @@ struct llvmpipe_resource /** Row stride in bytes */ unsigned row_stride[LP_MAX_TEXTURE_LEVELS]; - /** Image stride (for cube maps or 3D textures) in bytes */ + /** Image stride (for cube maps, array or 3D textures) in bytes */ unsigned img_stride[LP_MAX_TEXTURE_LEVELS]; unsigned tiles_per_row[LP_MAX_TEXTURE_LEVELS]; unsigned tiles_per_image[LP_MAX_TEXTURE_LEVELS]; |