@tojiro@mastodon.social
@tojiro@mastodon.social avatar

tojiro

@tojiro@mastodon.social

WebGPU/WebXR dev @ Google
"The downfall of modern civilization." - Joystiq

This profile is from a federated server and may be incomplete. Browse more on the original instance.

litherum, to random
@litherum@masto.ai avatar

Thought experiment: imagine if Google decided not to go with Vulkan on Android devices, and instead either decided to double down on OpenGL, or decided to invent their own modern GPU API

tojiro,
@tojiro@mastodon.social avatar
tojiro,
@tojiro@mastodon.social avatar

@litherum That's amusingly similar to my comment about it from several years back!

"GL -> Vulkan is like complaining that your Prius is too slow, so someone gives you all the pieces of a Ferrari."

https://twitter.com/Tojiro/status/628664374408839169

tojiro,
@tojiro@mastodon.social avatar

@litherum I've seen enough well-done ports to assume that Vulkan can be faster than GL/D3D11 (not sure about D3D12) but it also seems depressingly easy to go through a lot of work to port it and come out the other side slower.

The fact that games like Baulder's Gate 3 have Vulkan modes, but they recommend using D3D11 via the Proton compat layer on Steamdeck (A Vulkan-native device!) is emblematic of the difficulties here.

tojiro,
@tojiro@mastodon.social avatar

@litherum There were SO MANY discussions at Khronos about whether they should keep the OpenGL name or some variant of it. I'm glad they ultimately didn't, given how different the APIs are. (By the same token I think it's a little misleading to have D3D12 and D3D11 be so similar in name, but at least D3D had a history of reinventing itself.)

beatrix, to random
@beatrix@mastodon.gamedev.place avatar

Hades 2 has been in early access for a day and already everything is full of spoilers… ffs people

tojiro,
@tojiro@mastodon.social avatar

@beatrix Boo! Who does that?

They should write in traps where if you reach the end of the early access content within 24hrs of release it feeds you a fake storyline, so people flood message boards with stuff like "Can you believe Skelly was Chronos all along???" And we can mock them for it.

tojiro, to random
@tojiro@mastodon.social avatar

Hi-Fi Rush was a fun, imaginative, unique game that was critically acclaimed. So of course Microsoft is rewarding the studio behind it by laying them all off. They're apparently not even folding the team into other projects, just letting them all go. 🤬🤬🤬

https://www.theverge.com/24151047/xbox-shuts-down-arkane-austin-tango-gameworks-microsoft

tojiro,
@tojiro@mastodon.social avatar

@someguyjg Immediately after they finished porting the game to the PS5. Naturally.

tojiro, to random
@tojiro@mastodon.social avatar

Ooh! Looks like PDF 2.0 is going to support glTF as one of it's 3D formats!

https://pdfa.org/pdf-2-0-adds-gltf-model-support/

tojiro,
@tojiro@mastodon.social avatar

@donmccurdy Right? Kind of embarrassed that I don't recognize the other three. (Well, U3D at least sounds familiar but I don't know anything about it.)

tojiro, to random
@tojiro@mastodon.social avatar

Me: "Hades II looks great, and the first one was one of my favorite games of all time. But I'm going to resist the urge to buy it during the early access period because I want to experience the full-"

Supergiant: "Here's a pretty trailer"

Me: "Aaaannnddd now it's installed it on my Steamdeck."

Good job with that self control, me. 😅

https://www.youtube.com/watch?v=Miu_akSity4

tojiro,
@tojiro@mastodon.social avatar

Also, the original Hades is cheap right now. If you haven't played it, treat yourself to something real special! It's a polished rougelike where you play an angsty young demigod rebelling against your dad (Hades) by... meaningfully improving the lives and relationships of everyone you know?

tojiro, to random
@tojiro@mastodon.social avatar

Posts like this make me want to investigate Godot more!

"Introducing Reverse Z (AKA I'm sorry for breaking your shader)"

https://godotengine.org/article/introducing-reverse-z/

tojiro,
@tojiro@mastodon.social avatar

@someguyjg Rarely. And you're right that I like to keep my code at the forefront, even though I know most people looking to actually ship a game want to be working with graphical tools first and foremost.

Still, I like keeping tabs on how the engine side of the ecosystem is developing, even if I almost never use them in any significant capacity.

tojiro, to random
@tojiro@mastodon.social avatar

Whee! Finally beat the Heart on Slay the Spire. The secret is: have "After Image".

martinlaxenaire, to random
@martinlaxenaire@mastodon.social avatar

Hey @tojiro, how expensive is a WebGPU setBindGroup call exactly?

I'm currently thinking of ways to avoid redundant calls, for example for camera or lights bind groups. One idea would be for example to store the current active bind groups in a Set, only bind them if they're not in it, and then reset after each setPipeline calls.
But I'm wondering if those extra checks would be worth it? 🤔

tojiro,
@tojiro@mastodon.social avatar

@martinlaxenaire setBindGroup can be moderately expensive. Probably not as costly as setPipeline, and probably a bit more than setVertex/IndexBuffer. Trying to de-dupe it is likely a good idea. Also, you really want to try to group bind group entries by how often they change. (Per frame? Per material? Per draw?)

You likely DON'T need to reset your tracking when the pipeline changes, though! BindGroups can be shared between pipelines.

tojiro,
@tojiro@mastodon.social avatar

@martinlaxenaire In the compute case I would say profile profile profile! Many compute uses are going to be one-off things where data sharing between pipelines is a little less common, and if that's your case then it won't do you much good to de-dupe. But if you do some timing and find that a large chunk of your time is being sunk into potentially redundant calls then sure! Go ahead and de-dupe them!

tojiro, to random
@tojiro@mastodon.social avatar

Now, I'm not an expert on UK politics by any stretch of the imagination, but this seems like bad news for the Brexit crew.

tojiro,
@tojiro@mastodon.social avatar
tojiro,
@tojiro@mastodon.social avatar

Keeps getting better! I have no horse in this race, but seeing conservative politicians fall on their face brings a smile to my face no matter where in the world it happens.

Good job, UK!

mcc, to random
@mcc@mastodon.social avatar

I wonder if there's a way to apply for tech jobs while screening so you only apply to companies where Github Copilot is banned

tojiro,
@tojiro@mastodon.social avatar

@grumpasaurus @mcc honestly that might work? LLMs have an unnerving habit of spitting out info previously fed into it by users, so it's not absurd to think some special phrasing of "who is using you?" might yield a list.

Of course, said list might also be a hallucination. 🤷

prideout, to random

If a web app is much faster while recording a performance profile, is this a hint of a specific bottleneck? Should I even bother looking at the resulting flamegraph?

Curious what is Chrome doing differently when recording a profile.

tojiro,
@tojiro@mastodon.social avatar

@prideout @selkcip That is pretty weird. The only explanation I can think of off the top of my head is that something that you're doing is overwhelming some resource and the delays introduced by profiling are accidentally creating a better pipelining environment?

Worth filing a bug about, at least. Especially if you can point to a live page that exhibits the behavior.

mcc, to random
@mcc@mastodon.social avatar

Web traffic analytics company's new figures find that at the moment Windows 10's market share is continuing to go up while Windows 11's market share is actually going down https://www.neowin.net/news/windows-10-reaches-70-market-share-as-windows-11-keeps-declining/

tojiro,
@tojiro@mastodon.social avatar

@mcc Everybody took Microsoft's claim that Windows 10 was the last version of Windows seriously except for Microsoft.

mcc, to random
@mcc@mastodon.social avatar

deleted_by_author

  • Loading...
  • tojiro,
    @tojiro@mastodon.social avatar

    @mcc Seems like that won't impact the ability to side load apps through SideQuest or ADB either, which is good. But they also haven't given many details on how much control hardware partners will have over the software side, so it's feasible that some of them might lock things down more?

    All in all I see it as a move to try to establish themselves as the "Android of VR/AR" to further differentiate from Apple and get ahead of things like the announced Google/Samsung partnership.

    tojiro,
    @tojiro@mastodon.social avatar

    @mcc Hm... It's been a while since I went through that process but apparently you do still need to sign up for a dev account (which requires entering a credit card number but not a charge) in order to enable dev mode, which in turn is required for ADB.

    Frustratingly hard to find straightforward official docs about that, though.

    tojiro,
    @tojiro@mastodon.social avatar

    @mcc The Go was criminally underrated.

    Unfortunately the consensus, even from Meta, seems to be that this move will generally allow for higher-end, more specialized hardware at a higher price point from Meta's partners, while the Quest stays the lowest cost option because Meta subsidizes it with sales through the app store. 🫤

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • everett
  • osvaldo12
  • thenastyranch
  • magazineikmin
  • Leos
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • JUstTest
  • ngwrru68w68
  • tacticalgear
  • InstantRegret
  • anitta
  • modclub
  • mdbf
  • cisconetworking
  • ethstaker
  • cubers
  • megavids
  • tester
  • normalnudes
  • lostlight
  • All magazines