mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Pica/DebugUtils: Add an event triggered after loading a vertex.
This commit is contained in:
		
							parent
							
								
									cd322e328e
								
							
						
					
					
						commit
						79c29243ed
					
				
					 3 changed files with 5 additions and 0 deletions
				
			
		|  | @ -131,6 +131,9 @@ static inline void WritePicaReg(u32 id, u32 value, u32 mask) { | |||
|                     } | ||||
|                 } | ||||
| 
 | ||||
|                 if (g_debug_context) | ||||
|                     g_debug_context->OnEvent(DebugContext::Event::VertexLoaded, (void*)&input); | ||||
| 
 | ||||
|                 // NOTE: When dumping geometry, we simply assume that the first input attribute
 | ||||
|                 //       corresponds to the position for now.
 | ||||
|                 DebugUtils::GeometryDumper::Vertex dumped_vertex = { | ||||
|  |  | |||
|  | @ -26,6 +26,7 @@ public: | |||
|         CommandProcessed, | ||||
|         IncomingPrimitiveBatch, | ||||
|         FinishedPrimitiveBatch, | ||||
|         VertexLoaded, | ||||
| 
 | ||||
|         NumEvents | ||||
|     }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue