First Commit
This commit is contained in:
22
externals/glslang/Test/spv.constStruct.vert
vendored
Normal file
22
externals/glslang/Test/spv.constStruct.vert
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
#version 450
|
||||
|
||||
precision highp float;
|
||||
|
||||
struct U {
|
||||
mat2 m;
|
||||
};
|
||||
|
||||
struct T {
|
||||
mat2 m;
|
||||
};
|
||||
|
||||
struct S {
|
||||
T t;
|
||||
U u;
|
||||
};
|
||||
|
||||
void main()
|
||||
{
|
||||
S s1 = S(T(mat2(1.0)), U(mat2(1.0)));
|
||||
S s2 = S(T(mat2(1.0)), U(mat2(1.0)));
|
||||
}
|
||||
Reference in New Issue
Block a user