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;