mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Add Get(Inv)WindowResolution shader functions (#5818)
Those are available in upstream Dolphin, so it will help with keeping things compatible.
This commit is contained in:
		
							parent
							
								
									647a6f8d82
								
							
						
					
					
						commit
						dd31ed60c0
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		|  | @ -90,6 +90,16 @@ float2 GetIInvResolution() | ||||||
|     return i_resolution.zw; |     return i_resolution.zw; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | float2 GetWindowResolution() | ||||||
|  | { | ||||||
|  |   return o_resolution.xy; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | float2 GetInvWindowResolution() | ||||||
|  | { | ||||||
|  |   return o_resolution.zw; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| float2 GetOResolution() | float2 GetOResolution() | ||||||
| { | { | ||||||
|     return o_resolution.xy; |     return o_resolution.xy; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue