should the size be verified here so it fails early?
why does it fall back to this?
is there a clean way to work this functionality into primitive stuff? If not, would it make more sense to just put everything directly in here and skip the generic primitive stuff?
if these can panic then there's probably a better way to get these values at call site, eg. separate page handles & primitives from textures
if textures are drawn completely different from primitives , shouldn't they just have their own shader that shares the layout code?
why isn't the standard write path used?
comments too verbose everywhere. Please match the existing code with minimal comments. Set up a review at the end of each change to look over comments (& sanity check code)
use align repr, don't manually pad
shouldn't this associated const go in this type if this is where it's used?
is the *16 the dp workaround? might wanna do more foundational work like do or Rc RefCell rsc before these commits
curious if we could type texture handles w a generic. May want to note somewhere