forked from eden-emu/eden
		
	VideoCore: Consistently use shader configuration to load attributes
This commit is contained in:
		
							parent
							
								
									fccb28d2e9
								
							
						
					
					
						commit
						335df895b9
					
				
					 7 changed files with 25 additions and 46 deletions
				
			
		|  | @ -137,10 +137,10 @@ struct UnitState { | |||
|     /**
 | ||||
|      * Loads the unit state with an input vertex. | ||||
|      * | ||||
|      * @param input Input vertex into the shader | ||||
|      * @param num_attributes The number of vertex shader attributes to load | ||||
|      * @param config Shader configuration registers corresponding to the unit. | ||||
|      * @param input Attribute buffer to load into the input registers. | ||||
|      */ | ||||
|     void LoadInput(const AttributeBuffer& input, int num_attributes); | ||||
|     void LoadInput(const Regs::ShaderConfig& config, const AttributeBuffer& input); | ||||
| }; | ||||
| 
 | ||||
| struct ShaderSetup { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yuri Kunde Schlesner
						Yuri Kunde Schlesner