radv: Handle slightly different image dimensions

Graphics / Mesa 3D Graphics Library / Mesa - Bas Nieuwenhuizen [basnieuwenhuizen.nl] - 10 October 2019 17:02 UTC

The minigbm comment really says it all. We should fix minigbm as well, but for now this is the more robust solution.

Note that this only changes width and height for the surface creation, not for the image and hence also not for the sampler, where it would wreak havoc due to the normalized coords.

64768111c30 radv: Handle slightly different image dimensions.
src/amd/vulkan/radv_image.c | 110 +++++++++++++++++++++++++++++++++++++++-----
1 file changed, 99 insertions(+), 11 deletions(-)

Upstream: cgit.freedesktop.org

  • Share