14 [[nodiscard]] std::vector<char>
load_spv(
const std::string &path);
23 [[nodiscard]] VkShaderModule
create_shader_module(VkDevice device,
const std::vector<char> &spv_bytes);
Utilities for loading and saving PNG images.
VkShaderModule create_shader_module(VkDevice device, const std::vector< char > &spv_bytes)
Create a shader module from SPIR-V bytecode.
std::vector< char > load_spv(const std::string &path)
Load a SPIR-V file from disk.