mirror of https://github.com/doitsujin/dxvk
[dxvk] Add shader method to retrieve raw code
This commit is contained in:
parent
3e0031cefe
commit
354b88d178
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue