Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 1.08762812614 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.30/compiler/switch-statement/switch-expression-uniform-float.vert fail 1.30 |
errors |
|
info | Returncode: 1 Errors: Successfully compiled vertex shader tests/spec/glsl-1.30/compiler/switch-statement/switch-expression-uniform-float.vert: Vertex shader was successfully compiled to run on hardware. WARNING: 0:16: warning(#283) Implicit cast from float to int 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: // // "The type of init-expression in a switch statement must be a scalar // integer." #version 130 uniform float src; void main() { switch (src) { } gl_Position = vec4(0.0); } |