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

Wrong cl_image_desc setup collected from VkImageCreateInfo #2155

Open
shajder opened this issue Nov 20, 2024 · 0 comments
Open

Wrong cl_image_desc setup collected from VkImageCreateInfo #2155

shajder opened this issue Nov 20, 2024 · 0 comments
Labels
mobica-triage Issue proposed for addition to Mobica's backlog (needs WG approval)

Comments

@shajder
Copy link
Contributor

shajder commented Nov 20, 2024

Procedure getCLImageInfoFromVkImageInfo returns image width/height/depth 256x256x10 despite the fact image has 256x16x10 dimensions. Source of the problem is invalid usage of get2DImageDimensions which computes height without taking into accout depth value:

height = totalImageSize / row_pitch;
@nikhiljnv nikhiljnv added the mobica-triage Issue proposed for addition to Mobica's backlog (needs WG approval) label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobica-triage Issue proposed for addition to Mobica's backlog (needs WG approval)
Projects
None yet
Development

No branches or pull requests

2 participants