Open afd opened 7 years ago
See https://github.com/mc-imperial/shader-compiler-bugs/tree/master/Intel-HD-Graphics-520-Windows/compile_errors/struct_issue
This code:
uniform float x;
struct T { mat2 c; };
void f() { T(mat2(x)); }
is rejected by Intel's Windows driver (version 21.20.16.4590), with this error:
ERROR: 0:11: 'constructor' : cannot convert parameter 1 from 'float' to 'float'
See https://github.com/mc-imperial/shader-compiler-bugs/tree/master/Intel-HD-Graphics-520-Windows/compile_errors/struct_issue
This code:
version 440
uniform float x;
struct T { mat2 c; };
void f() { T(mat2(x)); }
is rejected by Intel's Windows driver (version 21.20.16.4590), with this error:
ERROR: 0:11: 'constructor' : cannot convert parameter 1 from 'float' to 'float'