mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	gl_shader_decompiler: Remove unused variable in GenerateDeclarations()
This variable was being incremented, but we were never actually using it.
This commit is contained in:
		
							parent
							
								
									c1d54f4aea
								
							
						
					
					
						commit
						b45e5c2399
					
				@ -412,7 +412,6 @@ public:
 | 
			
		||||
        }
 | 
			
		||||
        declarations.AddNewLine();
 | 
			
		||||
 | 
			
		||||
        unsigned const_buffer_layout = 0;
 | 
			
		||||
        for (const auto& entry : GetConstBuffersDeclarations()) {
 | 
			
		||||
            declarations.AddLine("layout(std140) uniform " + entry.GetName());
 | 
			
		||||
            declarations.AddLine('{');
 | 
			
		||||
@ -420,7 +419,6 @@ public:
 | 
			
		||||
                                 "[MAX_CONSTBUFFER_ELEMENTS];");
 | 
			
		||||
            declarations.AddLine("};");
 | 
			
		||||
            declarations.AddNewLine();
 | 
			
		||||
            ++const_buffer_layout;
 | 
			
		||||
        }
 | 
			
		||||
        declarations.AddNewLine();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user