mirror of
				https://github.com/hedge-dev/XenosRecomp.git
				synced 2025-10-30 07:12:17 +00:00 
			
		
		
		
	Upstream
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
This commit is contained in:
		
							parent
							
								
									13fb9fd4b9
								
							
						
					
					
						commit
						ebfbf9de89
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -59,7 +59,8 @@ struct PushConstants | |||
| 
 | ||||
| #define g_Booleans (*(reinterpret_cast<device uint*>(g_PushConstants.SharedConstants + 256))) | ||||
| #define g_SwappedTexcoords (*(reinterpret_cast<device uint*>(g_PushConstants.SharedConstants + 260))) | ||||
| #define g_AlphaThreshold (*(reinterpret_cast<device float*>(g_PushConstants.SharedConstants + 264))) | ||||
| #define g_HalfPixelOffset (*(reinterpret_cast<device float*>(g_PushConstants.SharedConstants + 264))) | ||||
| #define g_AlphaThreshold (*(reinterpret_cast<device float*>(g_PushConstants.SharedConstants + 272))) | ||||
| 
 | ||||
| #else | ||||
| 
 | ||||
|  |  | |||
|  | @ -2218,7 +2218,7 @@ void ShaderRecompiler::recompile(const uint8_t* shaderData, const std::string_vi | |||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     out += "\toPos.xy += g_HalfPixelOffset * oPos.w;\n"; | ||||
|                     out += "\toutput.oPos.xy += g_HalfPixelOffset * output.oPos.w;\n"; | ||||
|                 } | ||||
| 
 | ||||
|                 if (simpleControlFlow) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Isaac Marovitz
						Isaac Marovitz