mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	
		
			
	
	
		
			11 lines
		
	
	
	
		
			174 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
	
		
			174 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| 
								 | 
							
								#version 450
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								layout(location = 0) out vec4 out_color;
							 | 
						||
| 
								 | 
							
								layout(push_constant) uniform UBO {
							 | 
						||
| 
								 | 
							
									layout(offset = 80) vec4 color;
							 | 
						||
| 
								 | 
							
								} data;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								void main() {
							 | 
						||
| 
								 | 
							
									out_color = data.color;
							 | 
						||
| 
								 | 
							
								}
							 |