On 14/12/2018 11:53, Tapani Pälli wrote:
+   if (desc.usage & AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER)
+      tiling = VK_IMAGE_TILING_LINEAR;
+
+   p->formatFeatures =
+      anv_get_image_format_features(&device->info, p->format,
+                                    anv_format, VK_IMAGE_TILING_OPTIMAL);
+

I think you want to give tiling as a parameter, with that fixed :


Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to