Saved about 21K, size down to 380K of MSVC x86 code. Fixed one bug that needs to be looked at on the master branch: The test for needing a Vulkan binding has a bug in it, "!layoutAttachment" which does not mean "no layoutAttachment", because that is non-zero. This is why some test and test results changed.
		
			
				
	
	
		
			27 lines
		
	
	
		
			404 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			404 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
#version 450
 | 
						|
 | 
						|
layout(binding = 0) buffer block {
 | 
						|
    float m0;
 | 
						|
    vec3 m4;
 | 
						|
    //////
 | 
						|
    float m16;
 | 
						|
    layout(offset=20) vec3 m20;
 | 
						|
    /////
 | 
						|
    vec3 m32;
 | 
						|
    /////
 | 
						|
    vec2 m48;
 | 
						|
    vec2 m56;
 | 
						|
    ////
 | 
						|
    float m64;
 | 
						|
    vec2 m68;
 | 
						|
    float m76;
 | 
						|
    //////
 | 
						|
    float m80;
 | 
						|
    layout(offset=88) vec2 m88;
 | 
						|
    //////
 | 
						|
    vec2 m96;
 | 
						|
    ///////
 | 
						|
    dvec2 m112;
 | 
						|
};
 | 
						|
 | 
						|
void main() {} |