Using Metal (the Apple graphics API) in its raw form for the first time, and wow, I’d repressed just how mind-bogglingly clumsy low-level graphics APIs are. Currently trying to pass a constant int to a vertex shader, which apparently requires a sequence of operations that would make Rube Goldberg blush.
@inthehands Makes you feel like an absolute genius when you finally get a cube to render.
@paulhimes
I was going for a 2D rectangle and it nearly broke me!
Now I just have to get the GPU to find the maximum value in an array of unsigned 32 bit images. Should be super easy…