Email or username:

Password:

Forgot your password?
Top-level
Dag Ågren ↙︎↙︎↙︎

@mcc This seems about as correct as it is possible for a human to write an article like this. I think you just about got everything in there! Well done.

Two additions:

1. I've used Metal a lot, and WebGPU is definitely similar, with perhaps a few small extra warts that Metal handles a bit more smoothly. But for cross-platform availability, the small price is well worth it.
2. For native C or C++, you can also use wgpu just fine: Just use cargo to build a .a, and link that.

4 comments
Dag Ågren ↙︎↙︎↙︎

@mcc Oh, also, I also prefer referencing uniforms and buffers by numbers rather than names, because it feels a lot more like an API contract that way. It means you can name things whatever you want in the shader, and still adhere to a strict contract with the rest of the code.

mcc

@WAHa_06x36 It's okay if I get linked on Orange Website, I understand that's a thing that happens. However, after what happened last time, I'm not reading the comments.

Dag Ågren ↙︎↙︎↙︎

@mcc I did, and there were some that were bad enough to be truly funny. Now you know so no need to look.

Go Up