From 01ea10824db64e348d52a0961b9889bbd3f0b283 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Thu, 29 Mar 2018 22:38:37 +0200 Subject: [PATCH] Put a "last changed in PR" comment next to UID cache version This will create a merge conflict if two PRs try to increment the cache version at the same time, which makes it noticeable that the PR that gets merged last needs to increment the cache version again. We already use this for savestates and the game list cache. --- Source/Core/VideoCommon/GXPipelineTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/GXPipelineTypes.h b/Source/Core/VideoCommon/GXPipelineTypes.h index aa353fa99d..5e9ec6e98d 100644 --- a/Source/Core/VideoCommon/GXPipelineTypes.h +++ b/Source/Core/VideoCommon/GXPipelineTypes.h @@ -20,7 +20,7 @@ namespace VideoCommon // As pipelines encompass both shader UIDs and render states, changes to either of these should // also increment the pipeline UID version. Incrementing the UID version will cause all UID // caches to be invalidated. -constexpr u32 GX_PIPELINE_UID_VERSION = 1; +constexpr u32 GX_PIPELINE_UID_VERSION = 1; // Last changed in PR 6431 struct GXPipelineUid {