1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[dxvk] Expose ability to retrieve type from DxvkShaderKey

This commit is contained in:
Joshua Ashton 2019-09-18 22:39:22 +01:00 committed by Philip Rebohle
parent 7c8d03b3e1
commit 7a956ef8c8

View File

@ -46,6 +46,12 @@ namespace dxvk {
*/ */
size_t hash() const; size_t hash() const;
/**
* \brief Shader type
* \returns Shader type
*/
VkShaderStageFlags type() const { return m_type; }
/** /**
* \brief Checks whether two keys are equal * \brief Checks whether two keys are equal
* *