Function gpa::shader_utilities::GetBinarySPIRVfromReadableSPIRV

Function Documentation

bool gpa::shader_utilities::GetBinarySPIRVfromReadableSPIRV(std::string const &readableSPIRV, std::vector<uint32_t> &spirv)

assembles readable SPIR-V into bytecode

Parameters
  • readableSPIRV -- the SPIR-V to assemble

  • spirv -- (out) the assembled bytecode, will be empty if assembly fails