aboutsummaryrefslogtreecommitdiff
path: root/src/common/host_memory.cpp
diff options
context:
space:
mode:
authorWael3rd <29479851+Wael3rd@users.noreply.github.com>2026-10-31 07:34:15 +0100
committerkraibse <33869366+kraibse@users.noreply.github.com>2026-10-31 10:29:04 +0100
commit59047f0e6fd149e8187092ec0d9f419aa03e875f (patch)
treeabf35795fb1ace532ff41a3fb97619c13aebad64 /src/common/host_memory.cpp
parent1a9697fe274262aecefaa3595b49e0bf418012ed (diff)
shader_recompiler: run the destructors of pooled objects
Chunk::Release destroyed the Storage union elements, whose destructor is empty, so pooled objects were never destroyed and every shader build leaked what IR instructions own (phi operand lists, associated instructions). Destroy each used object instead. Pools are released blocks first, so a block's instruction list only unlinks live ones. Assisted-by: Claude Opus 5.5 (diagnosis and code)
Diffstat (limited to 'src/common/host_memory.cpp')
0 files changed, 0 insertions, 0 deletions