jgenesis
jgenesis copied to clipboard
Draft: enable webgpu conditional compile.
Conditional compile for webgpu support, tested in both chromium and firefox-nightly to work. I did try servo but it was hitting a bug I will try to debug at a later point, that's to be expected since servo is still very beta.
I elected to put this behind a build flag since
A) I havent learned the interop stuff for this yet B) It's behind a nightly browser for firefox, and a config flag for chrome anyways so nothing can actually use it out of box C) Not sure how to best handle configuring it to begin with. Perhaps an option above image filtering? Not sure how changing that live would work anyways.
Cargo keeps force changing libloading in cargo.lock me, not sure why.
EDIT: I did notice a slight improvement when playing sonic-cd with this, I dont have many other games to test.