Skip to content

Commit

Permalink
nv2a/vk: Disable memory trimmer for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Jul 29, 2024
1 parent 531b31a commit 6486e13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hw/xbox/nv2a/pgraph/vk/renderer.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ static void __attribute__((constructor)) register_renderer(void)

void pgraph_vk_check_memory_budget(PGRAPHState *pg)
{
#if 0 // FIXME
PGRAPHVkState *r = pg->vk_renderer_state;

VkPhysicalDeviceMemoryProperties const *props;
Expand All @@ -260,6 +261,7 @@ void pgraph_vk_check_memory_budget(PGRAPHState *pg)
if (near_budget) {
pgraph_vk_trim_texture_cache(pg);
}
#endif

#if 0
char *s;
Expand Down

0 comments on commit 6486e13

Please sign in to comment.