For recent GLSL versions, if texture2D function call appears, the error message reports an unsupported type constructor. Change message to unsupported function. Likewise for other removed texture* function calls.
		
			
				
	
	
		
			7 lines
		
	
	
		
			234 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			234 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
spv.textureError.frag
 | 
						|
ERROR: spv.textureError.frag:8: 'texture*D*' : function not supported in this version; use texture() instead 
 | 
						|
ERROR: 1 compilation errors.  No code generated.
 | 
						|
 | 
						|
 | 
						|
SPIR-V is not generated for failed compile or link
 |