diff options
author | Jonathan White <jwhite@tungstengraphics.com> | 2008-10-27 16:29:20 -0600 |
---|---|---|
committer | Jonathan White <jwhite@tungstengraphics.com> | 2008-10-27 16:31:22 -0600 |
commit | 582ca6e4180e45655ea5f85ac1c823a665efad47 (patch) | |
tree | 2b0e85c090c2ab8df38ddb60a1723c1abb4f4c1b /src/gallium/drivers/cell/ppu/cell_texture.h | |
parent | 7eacd11bf1743d47f07c2edd86507172d84b35fc (diff) |
cell: Added support for untwiddling textures during glReadPixels. This allows glReadPixels to work correctly on cell now and makes conformance tests that use pixel compares useable.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_texture.h')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_texture.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_texture.h b/src/gallium/drivers/cell/ppu/cell_texture.h index 2f5fe0dd1b..7018b0c9bf 100644 --- a/src/gallium/drivers/cell/ppu/cell_texture.h +++ b/src/gallium/drivers/cell/ppu/cell_texture.h @@ -52,6 +52,7 @@ struct cell_texture struct pipe_buffer *tiled_buffer[CELL_MAX_TEXTURE_LEVELS]; /** Mapped, tiled texture data */ void *tiled_mapped[CELL_MAX_TEXTURE_LEVELS]; + void *untiled_data[CELL_MAX_TEXTURE_LEVELS]; }; |