commit | d7fe9af6202413aa4e6f0f53d89577ed8ea80027 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Fri Jan 31 16:08:31 2020 -0600 |
committer | Marge Bot <eric+marge@anholt.net> | Sun Feb 02 11:41:09 2020 +0000 |
tree | 34a98cba1ec1483b0be19a87bf1df41b75d979c6 | |
parent | 8ff613dc58782eab0fa915056255aedb838e3470 [diff] |
anv/blorp: Use the correct size for vkCmdCopyBufferToImage Now that we're using an uncompressed format for the buffer, we have to scale down the dimensions we pass into BLORP when doing buffer->image copies. Fixes: dd92179a72 "anv: Canonicalize buffer formats for image/buffer..." Closes: #2452 Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3664> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3664>