20 lines
		
	
	
		
			162 B
		
	
	
	
		
			GLSL
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			162 B
		
	
	
	
		
			GLSL
		
	
	
		
			Executable File
		
	
	
	
	
struct S {
 | 
						|
    float f;
 | 
						|
    float3 v;
 | 
						|
    float3x3 m;
 | 
						|
};
 | 
						|
 | 
						|
cbuffer bufName {
 | 
						|
    S s;
 | 
						|
};
 | 
						|
 | 
						|
S foo()
 | 
						|
{
 | 
						|
    return s;
 | 
						|
}
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
    foo();
 | 
						|
}
 |