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
		
			
				
	
	
		
			12 lines
		
	
	
		
			131 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			131 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
#version 140
 | 
						|
 | 
						|
out vec4 o;
 | 
						|
 | 
						|
uniform isamplerBuffer sampB;
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
    o.w = float(textureSize(sampB)) / 100.0;
 | 
						|
}
 | 
						|
 |