1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
// [config] // expect_result: pass // glsl_version: 1.10 // // [end config] /* PASS */ vec4 foo(vec4 a, vec4 b) { return vec4(dot(a, b)); } void main() { struct foo { float f; int i; bool b; }; gl_Position = gl_Vertex; }