summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-03-29 22:38:37 +0200
committerJosJuice <josjuice@gmail.com>2018-03-29 22:38:37 +0200
commit01ea10824db64e348d52a0961b9889bbd3f0b283 (patch)
treee6fa76bcaec359d602e7cecf765e3bf6175a3fd7 /Source/Core
parent53b3da73011636f377f7d160a27432a8b8816e3d (diff)
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.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoCommon/GXPipelineTypes.h2
1 files changed, 1 insertions, 1 deletions
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
{