Ben Doherty

Results 61 comments of Ben Doherty

After some investigation, I believe this is a bug in our material pipeline—most likely with Khronos's spirv-opt or spirv-cross. Even though we tag the `eyeDirection` variable as `highp`, it gets...

Nice, Metal LGTM so far. I like the idea of putting this state tracking into Filament. I'll try to get some performance numbers this week.

> @bejado @z3moon could one of you just try to repro this on a windows machine? I can try this week

When an app is backgrounded iOS restricts its use of Metal, which might be affecting things. Are you continuing to call `render` even when the app is backgrounded? Filament doesn't...

@Rankilau Are you seeing this happen with our unmodified gltf-viewer sample app?

@Rankilau Sounds good. One area to look at is how you're scheduling your frame callbacks. The gltf-viewrer uses [CADisplayLink](https://developer.apple.com/documentation/quartzcore/cadisplaylink).

Yeah, I was thinking of something along those lines could work too. I think this is a somewhat rare edge-case.

This SGTM. One thing to note is the max texture dimensions can depend on the texture type, e.g, 3D textures have a max of 256 while 2D textures might have...

Unfortunately we've had issues with Metal on Intel GPUs for awhile now.