Adds a transformation step to the post processing step. Two modes are available: 1) keep - Keeps samplers, textures and sampled textures as is 2) transform pure texture into sampled texture and remove pure samplers - removes all pure samplers - transforms all pure textures into its sampled counter part Change-Id: If54972e8052961db66c23f4b7e719d363cf6edbd
		
			
				
	
	
		
			14 lines
		
	
	
		
			168 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			168 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
#version 440
 | 
						|
 | 
						|
uniform sampler smp;
 | 
						|
uniform texture2D tex;
 | 
						|
 | 
						|
in vec2 coord;
 | 
						|
 | 
						|
out vec4 color;
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
  color = texture(sampler2D(tex, smp), coord);
 | 
						|
}
 |