mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	vk_rasterizer: Flush work on clear and dispatches
This commit is contained in:
		@@ -189,6 +189,7 @@ void RasterizerVulkan::Clear() {
 | 
			
		||||
    if (!maxwell3d.ShouldExecute()) {
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
    FlushWork();
 | 
			
		||||
 | 
			
		||||
    query_cache.UpdateCounters();
 | 
			
		||||
 | 
			
		||||
@@ -259,6 +260,8 @@ void RasterizerVulkan::Clear() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void RasterizerVulkan::DispatchCompute() {
 | 
			
		||||
    FlushWork();
 | 
			
		||||
 | 
			
		||||
    ComputePipeline* const pipeline{pipeline_cache.CurrentComputePipeline()};
 | 
			
		||||
    if (!pipeline) {
 | 
			
		||||
        return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user