From 2bc0113daea3c2711b98bbb758b0cfa88447b9e5 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Fri, 25 Dec 2020 21:11:43 +0300 Subject: [PATCH] [GPU] Add missing override specifier to SPIR-V shader translator --- src/xenia/gpu/spirv_shader_translator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/spirv_shader_translator.h b/src/xenia/gpu/spirv_shader_translator.h index 05e147895..9d1de5837 100644 --- a/src/xenia/gpu/spirv_shader_translator.h +++ b/src/xenia/gpu/spirv_shader_translator.h @@ -69,7 +69,7 @@ class SpirvShaderTranslator : public ShaderTranslator { } protected: - virtual uint32_t GetModificationRegisterCount() const { + uint32_t GetModificationRegisterCount() const override { return uint32_t(current_translation().modification()); } void StartTranslation() override;