mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	VideoCore/Shader: Use only entry_point as ShaderSetup param
This removes all implicit dependency of ShaderState on global PICA state.
This commit is contained in:
		
							parent
							
								
									e3caf669b0
								
							
						
					
					
						commit
						1e1f939817
					
				
					 4 changed files with 14 additions and 12 deletions
				
			
		|  | @ -518,7 +518,7 @@ void GraphicsVertexShaderWidget::Reload(bool replace_vertex_data, void* vertex_d | |||
|     info.labels.insert({entry_point, "main"}); | ||||
| 
 | ||||
|     // Generate debug information
 | ||||
|     debug_data = shader_setup.ProduceDebugInfo(input_vertex, num_attributes, shader_config); | ||||
|     debug_data = shader_setup.ProduceDebugInfo(input_vertex, num_attributes, entry_point); | ||||
| 
 | ||||
|     // Reload widget state
 | ||||
|     for (int attr = 0; attr < num_attributes; ++attr) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue