Closed dosfx closed 1 month ago
@dosfx Wild! Thanks for the bug, can you share the hardware you're on too?
I might be able to reproduce it in BrowserStack
Samsung Galaxy A53 5G cheers!
@dosfx I think I have a lead on this, turns out certain hardware has a max shader sizes! 🤯
I spotted a similar issue in pixi, theoretically should be a quick fix
Digging in this looks like a maximum number of branches in the shader program (if statements)
I found a device in BrowserStack I can reproduce, they don't have that exact combo but this seems to be the issue.
That warning I copied in was basically all if statements, so that fits XD Sorry I should have grabbed more. I can hook it all back up again if you'd like and grab the whole thing.
@dosfx Merged to main! Should be deployed to alpha bits momentarily
Confirmed works on my phone! :D
Steps to Reproduce
Made a simple application:
Packaged and served with parcel.
Expected Result
Load the page and see the blue square
Actual Result
Don't even get the blue square in my mobile browser. Attached to USB I can see in the console:
Environment
Current Workaround
Works if I do
Flags.useCanvasGraphicsContext();
from: https://excaliburjs.com/docs/graphics-context/#canvas-support