Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.122622013092 |
| note | Returncode was 1 |
| errors |
|
| command | /usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.30/compiler/switch-statement/switch-case-empty-end.vert fail 1.30 |
| info | Returncode: 1
Errors:
Successfully compiled vertex shader tests/spec/glsl-1.30/compiler/switch-statement/switch-case-empty-end.vert:
Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// From page 57 (page 63 of the PDF) of the GLSL 1.30 spec:
//
// "Fall through labels are allowed, but it is an error to have no
// statement between a label and the end of the switch statement."
#version 130
void main() {
switch (1) {
case 0:
}
gl_Position = vec4(0.0);
}
|