mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	video_core: report telemetry for gas mode
This commit is contained in:
		
							parent
							
								
									f0e461bf6f
								
							
						
					
					
						commit
						e2c41a5891
					
				@ -8,6 +8,7 @@
 | 
				
			|||||||
#include "common/assert.h"
 | 
					#include "common/assert.h"
 | 
				
			||||||
#include "common/bit_field.h"
 | 
					#include "common/bit_field.h"
 | 
				
			||||||
#include "common/logging/log.h"
 | 
					#include "common/logging/log.h"
 | 
				
			||||||
 | 
					#include "core/core.h"
 | 
				
			||||||
#include "video_core/regs_framebuffer.h"
 | 
					#include "video_core/regs_framebuffer.h"
 | 
				
			||||||
#include "video_core/regs_lighting.h"
 | 
					#include "video_core/regs_lighting.h"
 | 
				
			||||||
#include "video_core/regs_rasterizer.h"
 | 
					#include "video_core/regs_rasterizer.h"
 | 
				
			||||||
@ -1155,6 +1156,11 @@ vec4 secondary_fragment_color = vec4(0.0);
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        // Blend the fog
 | 
					        // Blend the fog
 | 
				
			||||||
        out += "last_tex_env_out.rgb = mix(fog_color.rgb, last_tex_env_out.rgb, fog_factor);\n";
 | 
					        out += "last_tex_env_out.rgb = mix(fog_color.rgb, last_tex_env_out.rgb, fog_factor);\n";
 | 
				
			||||||
 | 
					    } else if (state.fog_mode == TexturingRegs::FogMode::Gas) {
 | 
				
			||||||
 | 
					        Core::Telemetry().AddField(Telemetry::FieldType::Session, "VideoCore_Pica_UseGasMode",
 | 
				
			||||||
 | 
					                                   true);
 | 
				
			||||||
 | 
					        LOG_CRITICAL(Render_OpenGL, "Unimplemented gas mode");
 | 
				
			||||||
 | 
					        UNIMPLEMENTED();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    out += "gl_FragDepth = depth;\n";
 | 
					    out += "gl_FragDepth = depth;\n";
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user