 4c57db1595
			
		
	
	
		4c57db1595
		
	
	
	
	
		
			
			Adds the --no-link option which outputs the compiled shader binaries without linking them. This is a first step towards allowing users to create SPIR-v binary, non-executable libraries. When using the --no-link option, all functions are decorated with the Export linkage attribute.
		
			
				
	
	
		
			10 lines
		
	
	
		
			93 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			93 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #version 450
 | |
| 
 | |
| float add(float a, float b) {
 | |
|     return a + b;
 | |
| }
 | |
| 
 | |
| int foo() {
 | |
|     return 0;
 | |
| }
 |