mirror of https://github.com/xemu-project/xemu.git
nv2a/vk: Disable memory trimmer for now
This commit is contained in:
parent
86daae1453
commit
824a378a23
|
@ -235,6 +235,7 @@ static void __attribute__((constructor)) register_renderer(void)
|
||||||
|
|
||||||
void pgraph_vk_check_memory_budget(PGRAPHState *pg)
|
void pgraph_vk_check_memory_budget(PGRAPHState *pg)
|
||||||
{
|
{
|
||||||
|
#if 0 // FIXME
|
||||||
PGRAPHVkState *r = pg->vk_renderer_state;
|
PGRAPHVkState *r = pg->vk_renderer_state;
|
||||||
|
|
||||||
VkPhysicalDeviceMemoryProperties const *props;
|
VkPhysicalDeviceMemoryProperties const *props;
|
||||||
|
@ -260,6 +261,7 @@ void pgraph_vk_check_memory_budget(PGRAPHState *pg)
|
||||||
if (near_budget) {
|
if (near_budget) {
|
||||||
pgraph_vk_trim_texture_cache(pg);
|
pgraph_vk_trim_texture_cache(pg);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
char *s;
|
char *s;
|
||||||
|
|
Loading…
Reference in New Issue