mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	swrasterizer folder minor edit
This commit is contained in:
		
							parent
							
								
									9b3eb69973
								
							
						
					
					
						commit
						3e26b0dee5
					
				
					 5 changed files with 8 additions and 12 deletions
				
			
		|  | @ -20,7 +20,6 @@ | ||||||
| using Pica::Rasterizer::Vertex; | using Pica::Rasterizer::Vertex; | ||||||
| 
 | 
 | ||||||
| namespace Pica { | namespace Pica { | ||||||
| 
 |  | ||||||
| namespace Clipper { | namespace Clipper { | ||||||
| 
 | 
 | ||||||
| struct ClippingEdge { | struct ClippingEdge { | ||||||
|  | @ -192,6 +191,5 @@ void ProcessTriangle(const OutputVertex& v0, const OutputVertex& v1, const Outpu | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| } // namespace
 | } // namespace Clipper
 | ||||||
| 
 | } // namespace Pica
 | ||||||
| } // namespace
 |  | ||||||
|  |  | ||||||
|  | @ -5,7 +5,6 @@ | ||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
| namespace Pica { | namespace Pica { | ||||||
| 
 |  | ||||||
| namespace Shader { | namespace Shader { | ||||||
| struct OutputVertex; | struct OutputVertex; | ||||||
| } | } | ||||||
|  | @ -16,6 +15,5 @@ using Shader::OutputVertex; | ||||||
| 
 | 
 | ||||||
| void ProcessTriangle(const OutputVertex& v0, const OutputVertex& v1, const OutputVertex& v2); | void ProcessTriangle(const OutputVertex& v0, const OutputVertex& v1, const OutputVertex& v2); | ||||||
| 
 | 
 | ||||||
| } // namespace
 | } // namespace Clipper
 | ||||||
| 
 | } // namespace Pica
 | ||||||
| } // namespace
 |  | ||||||
|  |  | ||||||
|  | @ -7,7 +7,6 @@ | ||||||
| #include "video_core/shader/shader.h" | #include "video_core/shader/shader.h" | ||||||
| 
 | 
 | ||||||
| namespace Pica { | namespace Pica { | ||||||
| 
 |  | ||||||
| namespace Rasterizer { | namespace Rasterizer { | ||||||
| 
 | 
 | ||||||
| struct Vertex : Shader::OutputVertex { | struct Vertex : Shader::OutputVertex { | ||||||
|  | @ -44,5 +43,4 @@ struct Vertex : Shader::OutputVertex { | ||||||
| void ProcessTriangle(const Vertex& v0, const Vertex& v1, const Vertex& v2); | void ProcessTriangle(const Vertex& v0, const Vertex& v1, const Vertex& v2); | ||||||
| 
 | 
 | ||||||
| } // namespace Rasterizer
 | } // namespace Rasterizer
 | ||||||
| 
 |  | ||||||
| } // namespace Pica
 | } // namespace Pica
 | ||||||
|  |  | ||||||
|  | @ -12,4 +12,5 @@ void SWRasterizer::AddTriangle(const Pica::Shader::OutputVertex& v0, | ||||||
|                                const Pica::Shader::OutputVertex& v2) { |                                const Pica::Shader::OutputVertex& v2) { | ||||||
|     Pica::Clipper::ProcessTriangle(v0, v1, v2); |     Pica::Clipper::ProcessTriangle(v0, v1, v2); | ||||||
| } | } | ||||||
| } | 
 | ||||||
|  | } // namespace VideoCore
 | ||||||
|  |  | ||||||
|  | @ -24,4 +24,5 @@ class SWRasterizer : public RasterizerInterface { | ||||||
|     void FlushRegion(PAddr addr, u32 size) override {} |     void FlushRegion(PAddr addr, u32 size) override {} | ||||||
|     void FlushAndInvalidateRegion(PAddr addr, u32 size) override {} |     void FlushAndInvalidateRegion(PAddr addr, u32 size) override {} | ||||||
| }; | }; | ||||||
| } | 
 | ||||||
|  | } // namespace VideoCore
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue