Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.907334089279 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.30/compiler/switch-statement/switch-expression-var-float.vert fail 1.30 |
errors |
|
info | Returncode: 1 Errors: Successfully compiled vertex shader tests/spec/glsl-1.30/compiler/switch-statement/switch-expression-var-float.vert: Vertex shader was successfully compiled to run on hardware. WARNING: 0:15: 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 void main() { float tmp = 1.5; switch (tmp) { } gl_Position = vec4(0.0); } |