mirror of
				https://github.com/hedge-dev/XenosRecomp.git
				synced 2025-10-30 07:12:17 +00:00 
			
		
		
		
	Always emit output struct init
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
This commit is contained in:
		
							parent
							
								
									e851c0baff
								
							
						
					
					
						commit
						04539fdf02
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -1617,8 +1617,6 @@ void ShaderRecompiler::recompile(const uint8_t* shaderData, const std::string_vi | |||
|     out += ")\n"; | ||||
|     out += "{\n"; | ||||
| 
 | ||||
| #ifdef UNLEASHED_RECOMP | ||||
| 
 | ||||
|     std::string outputName = isPixelShader ? "PixelShaderOutput" : "Interpolators"; | ||||
| 
 | ||||
|     out += "#ifdef __air__\n"; | ||||
|  | @ -1627,6 +1625,7 @@ void ShaderRecompiler::recompile(const uint8_t* shaderData, const std::string_vi | |||
|     println("\t{0} output = ({0})0;", outputName); | ||||
|     out += "#endif\n"; | ||||
| 
 | ||||
| #ifdef UNLEASHED_RECOMP | ||||
|     if (hasMtxProjection) | ||||
|     { | ||||
|         specConstantsMask |= SPEC_CONSTANT_REVERSE_Z; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Isaac Marovitz
						Isaac Marovitz