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

enablesRenderGraphOptimization option hangs #376

Open
3 tasks done
Karllas opened this issue Jan 6, 2024 · 0 comments
Open
3 tasks done

enablesRenderGraphOptimization option hangs #376

Karllas opened this issue Jan 6, 2024 · 0 comments

Comments

@Karllas
Copy link

Karllas commented Jan 6, 2024

If you try to call makeCGImage for a MTIImage which consists of a large number of filters (30+) via MTIContext created with enablesRenderGraphOptimization option then makeCGImage never finishes.

Checklist

Environment

Info Value
MetalPetal Version 1.25.2
Integration Method SwiftPM
Platform & Version iOS 17.0
Device iPhone Pro Max 12 and 13

Steps to Reproduce

  1. Create MTIContext with enablesRenderGraphOptimization option set to true
  2. Apply a lot of filters (30+)
  3. Call makeCGImage

Expected behavior

Image should be rendered

Actual behavior

Hang. Rendering never finishes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant