Function gpa::shader_utilities::GetReadableSPIRVfromBinarySPIRV

Function Documentation

bool gpa::shader_utilities::GetReadableSPIRVfromBinarySPIRV(void *spirv, size_t binarySize, std::string &readableSPIRV)

Decompiles SPIR-V bytecode to HLSL.

disassembles SPIR-V byte code to a human readable representation

Parameters
  • spirv -- the bytecode to disassemble

  • readableSPIRV -- dissassembled SPIRV

Returns

true if successful