Skip to content

anv: remove assert from GetImageMemoryRequirements[2]

Tapani Pälli requested to merge tpalli/mesa:remove-anv-assert into master

This assert is actually correct but due to how android hardware buffer support is implemented we should remove it, otherwise debug build of mesa hits the assert with Android CTS tests.

Test creates VkImage with non-external format and sets up VkExternalMemoryImageCreateInfo to indicate that image may be used with Android hardwarebuffer handle. Then test attempts to get image memory requirements. Problem with this is that we setup all android supporting images as having external format and thus hit the assert as the size has not been set yet. This is not a problem in practice since android will bind ahw memory with the image later on.

Signed-off-by: Tapani Pälli tapani.palli@intel.com

Merge request reports