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 *