vk: layout.lisp

host ABI sizes, alignments and member offsets of Vulkan types.

Other definitions

(defmacro vk-sizeof) source
(defmacro vk-sizeof (type)
  "the host size in bytes of the Vulkan type TYPE"
  (nth-value 0 (vk-type-layout (vkt-name (vk-find-type type)))))
(defmacro vk-offsetof) source
(defmacro vk-offsetof (type member)
  "the offset in bytes of MEMBER (a name or keyword, :min-depth) in TYPE"
  (vk-member-offset type member))

Made from xspe at b2fac33349db by tools/gen-xspe.py. xspe is GPL-3.0-or-later.