diff --git a/src/dxvk/dxvk_compute.h b/src/dxvk/dxvk_compute.h index ca7c6616e..dcbd24c21 100644 --- a/src/dxvk/dxvk_compute.h +++ b/src/dxvk/dxvk_compute.h @@ -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 * diff --git a/src/dxvk/dxvk_graphics.h b/src/dxvk/dxvk_graphics.h index 168e9714a..6310a0695 100644 --- a/src/dxvk/dxvk_graphics.h +++ b/src/dxvk/dxvk_graphics.h @@ -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