mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	gl_rasterizer: decrease vertex buffer size (#4703)
Nvidia seems to have flickering issue with pokemon for some specific vertex buffer size. The root cause is still unknown. This is just a workaround
This commit is contained in:
		
							parent
							
								
									88db89bf57
								
							
						
					
					
						commit
						0269cb6e67
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -286,7 +286,7 @@ private: | ||||||
|     std::unique_ptr<ShaderProgramManager> shader_program_manager; |     std::unique_ptr<ShaderProgramManager> shader_program_manager; | ||||||
| 
 | 
 | ||||||
|     // They shall be big enough for about one frame.
 |     // They shall be big enough for about one frame.
 | ||||||
|     static constexpr std::size_t VERTEX_BUFFER_SIZE = 32 * 1024 * 1024; |     static constexpr std::size_t VERTEX_BUFFER_SIZE = 16 * 1024 * 1024; | ||||||
|     static constexpr std::size_t INDEX_BUFFER_SIZE = 1 * 1024 * 1024; |     static constexpr std::size_t INDEX_BUFFER_SIZE = 1 * 1024 * 1024; | ||||||
|     static constexpr std::size_t UNIFORM_BUFFER_SIZE = 2 * 1024 * 1024; |     static constexpr std::size_t UNIFORM_BUFFER_SIZE = 2 * 1024 * 1024; | ||||||
|     static constexpr std::size_t TEXTURE_BUFFER_SIZE = 1 * 1024 * 1024; |     static constexpr std::size_t TEXTURE_BUFFER_SIZE = 1 * 1024 * 1024; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue