From 7a956ef8c804b95f48a4f8c500d784269be5610e Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Wed, 18 Sep 2019 22:39:22 +0100 Subject: [PATCH] [dxvk] Expose ability to retrieve type from DxvkShaderKey --- src/dxvk/dxvk_shader_key.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dxvk/dxvk_shader_key.h b/src/dxvk/dxvk_shader_key.h index f811286dd..119f9c3c6 100644 --- a/src/dxvk/dxvk_shader_key.h +++ b/src/dxvk/dxvk_shader_key.h @@ -46,6 +46,12 @@ namespace dxvk { */ size_t hash() const; + /** + * \brief Shader type + * \returns Shader type + */ + VkShaderStageFlags type() const { return m_type; } + /** * \brief Checks whether two keys are equal *