1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-29 17:52:18 +01:00

[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

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
*