From fe55f87289b38f1dfe83051e2cce505593a90440 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Thu, 30 Jul 2026 20:55:44 +0200 Subject: [PATCH] GS/VK: Remove undefined unused shader macro. --- bin/resources/shaders/vulkan/tfx.glsl | 2 +- pcsx2/ShaderCacheVersion.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/resources/shaders/vulkan/tfx.glsl b/bin/resources/shaders/vulkan/tfx.glsl index 12736ff9a7..7e4909faaf 100644 --- a/bin/resources/shaders/vulkan/tfx.glsl +++ b/bin/resources/shaders/vulkan/tfx.glsl @@ -587,7 +587,7 @@ void main() #define PS_FEEDBACK_LOOP_IS_NEEDED_RT (PS_TEX_IS_FB == 1 || AFAIL_NEEDS_RT || PS_FBMASK || SW_BLEND_NEEDS_RT || SW_AD_TO_HW || (PS_DATE >= 5)) #define PS_FEEDBACK_LOOP_IS_NEEDED_DEPTH (AFAIL_NEEDS_DEPTH || ZTST_NEEDS_DEPTH || AA1_NEEDS_DEPTH) -#define ZWRITE (PS_ZCLAMP || PS_ZFLOOR || SW_DEPTH || PS_FEEDBACK_LOOP_IS_NEEDED_DEPTH) +#define ZWRITE (PS_ZCLAMP || PS_ZFLOOR || PS_FEEDBACK_LOOP_IS_NEEDED_DEPTH) #define PS_RETURN_COLOR_ROV (!PS_NO_COLOR && PS_ROV_COLOR) #define PS_RETURN_COLOR (!PS_NO_COLOR && !PS_ROV_COLOR) diff --git a/pcsx2/ShaderCacheVersion.h b/pcsx2/ShaderCacheVersion.h index 64e4a03ee8..c08b953adb 100644 --- a/pcsx2/ShaderCacheVersion.h +++ b/pcsx2/ShaderCacheVersion.h @@ -3,4 +3,4 @@ /// Version number for GS and other shaders. Increment whenever any of the contents of the /// shaders change, to invalidate the cache. -static constexpr u32 SHADER_CACHE_VERSION = 108; // Last changed in PR 14688 +static constexpr u32 SHADER_CACHE_VERSION = 109; // Last changed in PR 14795