Description
openedon Sep 29, 2024
Describe the bug
If the width of the image is not a multiple of 4, the rendering result by image_view will be skewed.
To Reproduce
Steps to reproduce the behavior:
- /home/ros/git/github/filament/cmake-build-debug/samples/image_viewer -a vulkan /home/ros/git/momenta/avm/resource/avm_render/texture/rvc_top_view.png
Expected behavior
the rendering result by image_view will be ok.
Logs
/home/ros/git/github/filament/cmake-build-debug/samples/image_viewer -a vulkan /home/ros/git/momenta/avm/resource/avm_render/texture/rvc_top_view.png
FEngine (64 bits) created at 0x6353dcd3bbe0 (threading is enabled)
Vulkan device driver: NVIDIA 550.107.02
Selected physical device 'NVIDIA GeForce MX450' from 3 physical devices. (vendor 0x10de, device 0x1f9c, driver 0x899ac080, api 1.3)
Backend feature level: 3
FEngine feature level: 3
vkCreateSwapchain: 1024x640, VK_FORMAT_B8G8R8A8_UNORM, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR, swapchain-size=3, identity-transform=true, depth=VK_FORMAT_D32_SFLOAT_S8_UINT
Desktop (please complete the following information):
- OS: Ubuntu 22.04.5 LTS
- GPU:NVIDIA Corporation TU117M [GeForce MX450]
- Backend: Vulkan
Smartphone (please complete the following information):
- Device: -
- OS:-
Activity