This type was removed from spirv1.6. If samplerBuffer is specified in GLSL, generate textureBuffer. If samplerBuffer type is constructed, just return the buffer. Fixes #2956
		
			
				
	
	
		
			15 lines
		
	
	
		
			319 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			319 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
#version 400
 | 
						|
 | 
						|
uniform sampler s;
 | 
						|
 | 
						|
uniform textureBuffer             texBuffer;
 | 
						|
uniform itextureBuffer            itexBuffer;
 | 
						|
uniform utextureBuffer            utexBuffer;
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
    samplerBuffer          (texBuffer, s);
 | 
						|
    isamplerBuffer         (itexBuffer, s);
 | 
						|
    usamplerBuffer         (utexBuffer, s);
 | 
						|
}
 |