mesa/src/isl
Chad Versace 05c22f2d74 isl: Fix row pitch for linear buffers
isl always aligned the row pitch to the surface's image alignment.  This
was sometimes wrong when the surface backed a VkBuffer. For a VkBuffer,
the surface's row pitch is set by VkBufferImageCopy::bufferRowLength,
whose required alignment is only that of the VkFormat.

In particular, VkBuffer rows are packed in many dEQP and Crucible tests.
And packed rows are rarely aligned to the surface's image alignment.

Fixes: dEQP-VK.pipeline.image.view_type.2d.format.r8g8b8a8_unorm.size.13x13
2016-01-04 09:57:25 -08:00
..
tests isl: Add func isl_surf_get_image_offset_sa 2015-12-15 08:46:09 -08:00
.gitignore isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl.c isl: Fix row pitch for linear buffers 2016-01-04 09:57:25 -08:00
isl.h isl: Document some isl_surf::phys_level0_sa invariants 2015-12-31 12:06:02 -08:00
isl_format_layout.csv isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_format_layout_gen.bash isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_gen4.c isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_gen4.h isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_gen6.c isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_gen6.h isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_gen7.c isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_gen7.h isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_gen8.c isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_gen8.h isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_gen9.c isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_gen9.h isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
isl_image.c isl: Add a is_storage_image_format helper 2015-12-17 11:45:04 -08:00
isl_priv.h isl: Move it a standalone directory 2015-12-15 08:45:49 -08:00
Makefile.am isl: Add func isl_surf_get_image_offset_sa 2015-12-15 08:46:09 -08:00