* Fix xfb_stride limit issue Unsized array can't apply to transform trace. layout qualifier "offset" require GL_ARB_enhanced_layouts enable or glsl core version > 440. * Add negative test for xfb limit * update case result * Fix compile information issue Fix compile information issue and test comment issue. * remove es profile condition, use profileRequires to limit. * Fix xfb_stride limit issue Unsized array can't apply to transform trace. layout qualifier "offset" require GL_ARB_enhanced_layouts enable or glsl core version > 440. Add negative test for xfb limit * Move es profile check out of version number check * Adjust error information and related cases remove the new version check, refine original version check. * Revert condition for vulkan, and remove redundant test code.
		
			
				
	
	
		
			15 lines
		
	
	
		
			205 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			205 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 140
 | |
| 
 | |
| layout (std140) uniform UBO // offset can't use under version 140
 | |
| {
 | |
|     layout(offset = 0) vec4 a;
 | |
| };
 | |
| 
 | |
| in  vec4 in_vs;
 | |
| out vec4 out_vs;
 | |
| 
 | |
| void main()
 | |
| {
 | |
|     out_vs = in_vs + a;
 | |
| }
 |