Results for spec/glsl-1.30/compiler/switch-statement/switch-case-empty-end.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.18067407608
note
Returncode was 1
errors
  • Successfully compiled vertex shader tests/spec/glsl-1.30/compiler/switch-statement/switch-case-empty-end.vert:
command
/home/mks-hackers/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);
}

Back to summary