mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 20:10:06 +00:00
20 lines
162 B
GLSL
20 lines
162 B
GLSL
struct S {
|
|
float f;
|
|
float3 v;
|
|
float3x3 m;
|
|
};
|
|
|
|
cbuffer bufName {
|
|
S s;
|
|
};
|
|
|
|
S foo()
|
|
{
|
|
return s;
|
|
}
|
|
|
|
void main()
|
|
{
|
|
foo();
|
|
}
|