Sarek_vulkan.Vulkan_api_baseval memcpy :
unit Ctypes_static.ptr ->
unit Ctypes_static.ptr ->
Unsigned.size_t ->
unit Ctypes_static.ptrmemcpy from libc for memory transfers
exception Vk_result_error of Vulkan_types.vk_result * stringDeprecated: no longer raised. check below now raises the canonical Vulkan_error.Vulkan_error (a Backend_error alias) via the shared Sarek_backend_error.Backend_error.Make.check funnel. Kept only so out-of-tree code matching on Vulkan_api_base.Vk_result_error (code, ctx) (or the re-exported Vulkan_api.Vk_result_error) still compiles (this library is opam-published).
val check : string -> Vulkan_types.vk_result -> unitCheck Vulkan result and raise a canonical Backend_error on failure.
Compile GLSL to SPIR-V using glslangValidator. Requires glslangValidator in PATH.
Compile GLSL to SPIR-V using Shaderc if available, otherwise fallback to CLI