Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If the width of the image is not a multiple of 4, the rendering result by image_view will be skewed. #8166

Open
seker opened this issue Sep 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working vulkan Issues with the Vulkan backend

Comments

@seker
Copy link

seker commented Sep 29, 2024

⚠️ Issues not using this template will be systematically closed.

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:

  1. /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.

Screenshots
截图 2024-09-29 14-22-04

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:-

Additional context
rvc_top_view

@pixelflinger pixelflinger self-assigned this Sep 29, 2024
@pixelflinger pixelflinger added the bug Something isn't working label Sep 29, 2024
seker added a commit to seker/filament that referenced this issue Dec 13, 2024
seker added a commit to seker/filament that referenced this issue Dec 13, 2024
seker added a commit to seker/filament that referenced this issue Dec 17, 2024
@poweifeng poweifeng self-assigned this Dec 17, 2024
@poweifeng poweifeng added the vulkan Issues with the Vulkan backend label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vulkan Issues with the Vulkan backend
Projects
None yet
Development

No branches or pull requests

3 participants