summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPUSubtarget.h
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2012-09-20 18:54:29 +0200
committerChad Versace <[email protected]>2012-09-26 09:47:46 -0700
commitbb7ecb29fb6358a4c65278c2fe88936c578074cd (patch)
treef31479e22f8881d5284884d498a073428dc2c3a6 /src/gallium/drivers/radeon/AMDGPUSubtarget.h
parent0aa47b2d8b83bbed9d774d58558058a35faa8795 (diff)
intel: Fix size of temporary etc1 buffer
Fixes valgrind errors in piglit test oes_compressed_etc1_rgb8_texture-miptree: an invalid write in _mesa_store_compressed_store_texsubimage() at line 4406 and invalid reads in texcompress_etc_tmp.h:etc1_parse_block(). The calculation of the size of the temporary etc1 buffer allocated by intel_miptree_map_etc1() was incorrect. Sometimes the allocated buffer was too small, sometimes too large. This patch corrects the size to that expected by _mesa_store_compressed_store_texsubimage(). Note: This is candidate for the 9.0 branch. Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUSubtarget.h')
0 files changed, 0 insertions, 0 deletions