Do you know if Metal vertex/fragment buffers have a 32B minimum size? Just trying to figure out if they do or if there’s a bug in my code :)
@_psonice I haven’t tried using buffers that small. Curious to know if using -setVertexBytes:length:atIndex: instead makes a difference?
-
-
@warrenm No, same error. Sometimes uniform buffers for 2D are small, but I guess padding doesn’t hurt. -
@_psonice I would ask in the forum and/or file a doc bug. -
@warrenm Yeah. I’ll experiment a little more - I’m doing this in swift and it’s a little confusing, so I can’t rule out my own bugs yet ;)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.