1struct S { 2 float f; 3 float3 v; 4 float3x3 m; 5}; 6 7cbuffer bufName { 8 S s; 9}; 10 11S foo() 12{ 13 return s; 14} 15 16void main() 17{ 18 foo(); 19} 20