2026-01-12 05:18:12 -05:00
|
|
|
// SPDX-FileCopyrightText: 2002-2026 PCSX2 Dev Team
|
2024-07-30 13:42:36 +02:00
|
|
|
// SPDX-License-Identifier: GPL-3.0+
|
2022-10-15 14:12:13 +10:00
|
|
|
|
|
|
|
|
/// Version number for GS and other shaders. Increment whenever any of the contents of the
|
|
|
|
|
/// shaders change, to invalidate the cache.
|
2026-07-26 14:53:39 -04:00
|
|
|
// 109: driver-workaround shader wrappers (gpu_bitwise_and / gpu_bitwise_not / gpu_boolean_not /
|
|
|
|
|
// gpu_matrix_element). Every TFX and convert shader's source text changed, so a cached blob from
|
|
|
|
|
// 108 no longer matches the source that produced it — leaving this alone hands users stale
|
|
|
|
|
// binaries and garbage rendering after the update.
|
|
|
|
|
static constexpr u32 SHADER_CACHE_VERSION = 109; // 108 was upstream PR 14688
|