forked from eden-emu/eden
		
	shader_recompiler/EXIT: increment output register on failed enable test
This commit is contained in:
		
							parent
							
								
									a409125765
								
							
						
					
					
						commit
						9809829a6e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -15,6 +15,7 @@ void ExitFragment(TranslatorVisitor& v) { | ||||||
|         const std::array<bool, 4> mask{sph.ps.EnabledOutputComponents(render_target)}; |         const std::array<bool, 4> mask{sph.ps.EnabledOutputComponents(render_target)}; | ||||||
|         for (u32 component = 0; component < 4; ++component) { |         for (u32 component = 0; component < 4; ++component) { | ||||||
|             if (!mask[component]) { |             if (!mask[component]) { | ||||||
|  |                 ++src_reg; | ||||||
|                 continue; |                 continue; | ||||||
|             } |             } | ||||||
|             v.ir.SetFragColor(render_target, component, v.F(src_reg)); |             v.ir.SetFragColor(render_target, component, v.F(src_reg)); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Liam
						Liam