* Update SPIRV libraries - Update `spirv-cross` - Update `spirv-tools` - Update `glslang` `spirv-tools` contains a fix for an issue we reported (unnecessary promotions to highp in certain expressions). * Add SPIRV-Tools dependency to matinfo
23 lines
247 B
GLSL
23 lines
247 B
GLSL
#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)));
|
|
}
|