Result: fail
| Detail | Value |
|---|---|
| Returncode | 1 |
| Time | 0:00:00.172450 |
| Stdout |
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.20
// check_link: true
// [end config]
//
// GLSLangSpec.1.20.8, 4.2 Scoping:
//
// "If a nested scope redeclares a name used in an outer scope, it hides all
// existing uses of that name. There is no way to access the hidden name or
// make it unhidden, without exiting the scope that hid it."
#version 120
struct Name {
float a;
};
void main()
{
vec4 Name = vec4(1.0);
gl_Position = Name;
}
|
| Stderr |
Failed to compile vertex shader /usr/local/lib/piglit/tests/spec/glsl-1.20/compiler/scoping-struct-vs-variable.vert: 0:22(20): error: syntax error, unexpected ';', expecting '('
|
| Environment |
PIGLIT_SOURCE_DIR="/usr/local/lib/piglit" PIGLIT_PLATFORM="mixed_glx_egl" |
| Command | /usr/local/lib/piglit/bin/glslparsertest /usr/local/lib/piglit/tests/spec/glsl-1.20/compiler/scoping-struct-vs-variable.vert pass 1.20 --check-link |
| dmesg |