You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
247 B
23 lines
247 B
4 months ago
|
#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)));
|
||
|
}
|