mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	SWRasterizer: Implemented stencil action 1 (GL_ZERO).
Verified with hwtests.
This commit is contained in:
		
							parent
							
								
									b3e530d005
								
							
						
					
					
						commit
						fef1462371
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		|  | @ -442,7 +442,7 @@ struct Regs { | |||
| 
 | ||||
|     enum class StencilAction : u32 { | ||||
|         Keep      = 0, | ||||
| 
 | ||||
|         Zero      = 1, | ||||
|         Replace   = 2, | ||||
|         Increment = 3, | ||||
|         Decrement = 4, | ||||
|  |  | |||
|  | @ -220,6 +220,9 @@ static u8 PerformStencilAction(Regs::StencilAction action, u8 old_stencil, u8 re | |||
|     case Regs::StencilAction::Keep: | ||||
|         return old_stencil; | ||||
| 
 | ||||
|     case Regs::StencilAction::Zero: | ||||
|         return 0; | ||||
| 
 | ||||
|     case Regs::StencilAction::Replace: | ||||
|         return ref; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue