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:
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…
x
Reference in New Issue
Block a user