aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/object_pool.h
Commit message (Collapse)AuthorAgeFilesLines
* shader_recompiler: run the destructors of pooled objectsWael3rd4 days1-1/+6
| | | | | | | | | | 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)
* Move to Clang Format 15Levi Behunin2023-01-291-2/+2
| | | | | | Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* general: Update style to clang-format-12ameerj2021-09-241-2/+4
|
* object_pool: Add missing return in Chunk move assignment operatorLioncash2021-07-261-0/+1
| | | | Prevents undefined behavior from occurring.
* shader: Address feedback + clang formatlat9nq2021-07-221-1/+1
|
* shader: Fix use-after-free bug in object_poolReinUsesLisp2021-07-221-3/+3
|
* spirv: Add lower fp16 to fp32 passReinUsesLisp2021-07-221-1/+1
|
* shader: Improve object poolReinUsesLisp2021-07-221-34/+50
|
* shader: Properly store phi on InstReinUsesLisp2021-07-221-6/+5
|
* shader: Add pools and rename filesReinUsesLisp2021-07-221-0/+89