From bc70563478cf2f5bc5fb31824fec9b454fe4ba55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 15 Aug 2026 01:19:30 +0000 Subject: [PATCH] Metal: Fixed pipeline state cache reusing stale uniform handles. (#3893) --- src/renderer_mtl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer_mtl.cpp b/src/renderer_mtl.cpp index 76faf60ee..971d2b361 100644 --- a/src/renderer_mtl.cpp +++ b/src/renderer_mtl.cpp @@ -2784,6 +2784,7 @@ static_assert(BX_COUNTOF(s_accessNames) == Access::Count, "Invalid s_accessNames murmur.add(frameBuffer.m_pixelFormatHash); } + murmur.add(_program.idx); murmur.add(program.m_vsh->m_hash); if (NULL != program.m_fsh) {