commit | f5246efd8dfc05893900019ae391b2b9a4ce4d40 | [log] [tgz] |
---|---|---|
author | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | Fri Dec 11 10:53:53 2020 -0500 |
committer | Dylan Baker <dylan.c.baker@intel.com> | Mon Dec 14 09:23:04 2020 -0800 |
tree | a7d4d61bf9824466e82cb16c52b744098e18f32a | |
parent | 07d6fa2aba94f33f9fc6081f627b5bc1b73da991 [diff] |
zink: fix direct image mapping offset the x and y offsets here were improperly calculated without taking into account: * layer/level offset * x/y coord bpp Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan") Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8058> (cherry picked from commit 456b57802eaf95d36e7b950bdb5ffd86a1c0dc63)