mirror of
				https://github.com/encounter/dawn-cmake.git
				synced 2025-10-26 03:30:30 +00:00 
			
		
		
		
	Change-Id: I18c807b2449dc2842cb9dbfaeba98dae640d2355 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/102621 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			258 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			258 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 310 es
 | |
| 
 | |
| layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
 | |
| void unused_entry_point() {
 | |
|   return;
 | |
| }
 | |
| vec3 f(int x) {
 | |
|   mat3 m = mat3(vec3(1.0f, 2.0f, 3.0f), vec3(4.0f, 5.0f, 6.0f), vec3(7.0f, 8.0f, 9.0f));
 | |
|   int i = x;
 | |
|   return m[i];
 | |
| }
 | |
| 
 |