diff options
author | Michal Krol <michal@vmware.com> | 2010-03-10 16:32:34 +0100 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2010-03-10 16:32:34 +0100 |
commit | 5d4360d10cd39e28ee3b563e95959f3dd22c5242 (patch) | |
tree | 317e6cbd2278ba25b6f9e907f2410f9c7e63fd2c /src/gallium/drivers/softpipe/sp_tex_tile_cache.h | |
parent | 3ce4375912c8ea488460e593e07c5bb15b92dca9 (diff) |
gallium: pipe_get_tile_swizzle() accepts format parameter.
Enables casting of texture data.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_tex_tile_cache.h')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tex_tile_cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tex_tile_cache.h b/src/gallium/drivers/softpipe/sp_tex_tile_cache.h index c562f721be..f8770409d8 100644 --- a/src/gallium/drivers/softpipe/sp_tex_tile_cache.h +++ b/src/gallium/drivers/softpipe/sp_tex_tile_cache.h @@ -87,6 +87,7 @@ struct softpipe_tex_tile_cache unsigned swizzle_g; unsigned swizzle_b; unsigned swizzle_a; + unsigned format; struct softpipe_tex_cached_tile *last_tile; /**< most recently retrieved tile */ }; |