1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 05:52:11 +01:00

[dxvk] Add methods to retrieve shaders from pipeline

This commit is contained in:
Philip Rebohle 2019-09-30 01:54:49 +02:00
parent 59d4e8a36a
commit 54ff7bf769
2 changed files with 16 additions and 0 deletions

View File

@ -104,6 +104,14 @@ namespace dxvk {
~DxvkComputePipeline();
/**
* \brief Shaders used by the pipeline
* \returns Shaders used by the pipeline
*/
const DxvkComputePipelineShaders& shaders() const {
return m_shaders;
}
/**
* \brief Pipeline layout
*

View File

@ -209,6 +209,14 @@ namespace dxvk {
~DxvkGraphicsPipeline();
/**
* \brief Shaders used by the pipeline
* \returns Shaders used by the pipeline
*/
const DxvkGraphicsPipelineShaders& shaders() const {
return m_shaders;
}
/**
* \brief Returns graphics pipeline flags
* \returns Graphics pipeline property flags