Merge the test line's texture retirement fix into the combined branch.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-09 21:27:08 -05:00
6 changed files with 124 additions and 26 deletions

View File

@@ -1607,7 +1607,7 @@ static int marks_on = -1, marks_vs_ok, marks_fs_ok;
int vk_pool_marks_enabled(void) {
if (marks_on < 0) {
marks_on = rt_knob("TEX_DISUSE", "1") == 1;
marks_on = rt_knob("TEX_DISUSE", "1") >= 1; // 2: marks and stand-ins, nothing freed (vk_texture.c "disuse")
VkCtx *c = vk_ctx();
if (c) {
VkPhysicalDeviceFeatures f;