Files
filament/third_party/glslang/Test/struct.error.frag
T
2025-08-11 15:44:28 -07:00

15 lines
135 B
GLSL

#version 460
struct A {
float x;
};
A test() {
return A(1.0);
}
void main() {
test().z; // A.z does not exist, causes a crash
}