 726bf96a72
			
		
	
	
		726bf96a72
		
	
	
	
	
		
			
			This implements mytex.mips[mip][coord] for texture types. There is some error testing, but not comprehensive. The constructs can be nested, e.g in this case the inner .mips is parsed before the completion of the outer [][] operator. tx.mips[tx.mips[a][b].x][c]
		
			
				
	
	
		
			8 lines
		
	
	
		
			185 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			185 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #version 450
 | |
| 
 | |
| layout (local_size_x_id = 0, local_size_y_id = 1, local_size_z_id = 2) in;
 | |
| 
 | |
| shared int foo[gl_WorkGroupSize.x + gl_WorkGroupSize.y * gl_WorkGroupSize.z];
 | |
| 
 | |
| void main () {}
 |