mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	gl_shader_util: Specify default precision for uimage2D
Otherwise, this causes the application to crash when compiling any shader, on both devices I tested.
This commit is contained in:
		
							parent
							
								
									e6b59cb5d8
								
							
						
					
					
						commit
						84844e1b24
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -15,10 +15,12 @@ static constexpr char fragment_shader_precision_OES[] = R"( | ||||||
| precision highp int; | precision highp int; | ||||||
| precision highp float; | precision highp float; | ||||||
| precision highp samplerBuffer; | precision highp samplerBuffer; | ||||||
|  | precision highp uimage2D; | ||||||
| #else | #else | ||||||
| precision mediump int; | precision mediump int; | ||||||
| precision mediump float; | precision mediump float; | ||||||
| precision mediump samplerBuffer; | precision mediump samplerBuffer; | ||||||
|  | precision mediump uimage2D; | ||||||
| #endif // GL_FRAGMENT_PRECISION_HIGH
 | #endif // GL_FRAGMENT_PRECISION_HIGH
 | ||||||
| )"; | )"; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue