mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxvk] Add shader method to retrieve raw code
This commit is contained in:
parent
3e0031cefe
commit
354b88d178
1 changed files with 7 additions and 0 deletions
|
@ -149,6 +149,13 @@ namespace dxvk {
|
||||||
m_needsLibraryCompile.store(false);
|
m_needsLibraryCompile.store(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Gets raw code without modification
|
||||||
|
*/
|
||||||
|
SpirvCodeBuffer getRawCode() const {
|
||||||
|
return m_code.decompress();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Patches code using given info
|
* \brief Patches code using given info
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue