mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	video_core: preallocate fewer IR blocks
This commit is contained in:
		@@ -16,9 +16,9 @@ struct ShaderPools {
 | 
			
		||||
        inst.ReleaseContents();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    Shader::ObjectPool<Shader::IR::Inst> inst;
 | 
			
		||||
    Shader::ObjectPool<Shader::IR::Block> block;
 | 
			
		||||
    Shader::ObjectPool<Shader::Maxwell::Flow::Block> flow_block;
 | 
			
		||||
    Shader::ObjectPool<Shader::IR::Inst> inst{8192};
 | 
			
		||||
    Shader::ObjectPool<Shader::IR::Block> block{32};
 | 
			
		||||
    Shader::ObjectPool<Shader::Maxwell::Flow::Block> flow_block{32};
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct Context {
 | 
			
		||||
 
 | 
			
		||||
@@ -92,9 +92,9 @@ struct ShaderPools {
 | 
			
		||||
        inst.ReleaseContents();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    Shader::ObjectPool<Shader::IR::Inst> inst;
 | 
			
		||||
    Shader::ObjectPool<Shader::IR::Block> block;
 | 
			
		||||
    Shader::ObjectPool<Shader::Maxwell::Flow::Block> flow_block;
 | 
			
		||||
    Shader::ObjectPool<Shader::IR::Inst> inst{8192};
 | 
			
		||||
    Shader::ObjectPool<Shader::IR::Block> block{32};
 | 
			
		||||
    Shader::ObjectPool<Shader::Maxwell::Flow::Block> flow_block{32};
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
class PipelineCache : public VideoCommon::ShaderCache {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user