[dxvk] Add shader method to retrieve raw code

This commit is contained in:
Philip Rebohle 2022-08-31 15:09:24 +02:00
parent 3e0031cefe
commit 354b88d178
1 changed files with 7 additions and 0 deletions

View File

@ -149,6 +149,13 @@ namespace dxvk {
m_needsLibraryCompile.store(false);
}
/**
* \brief Gets raw code without modification
*/
SpirvCodeBuffer getRawCode() const {
return m_code.decompress();
}
/**
* \brief Patches code using given info
*