Results for glslparsertest/glsl2/return-conversion-03.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.397780895233
note
Returncode was 1
errors
  • Successfully compiled vertex shader tests/glslparsertest/glsl2/return-conversion-03.vert:
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/glslparsertest/glsl2/return-conversion-03.vert fail 1.20
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/glslparsertest/glsl2/return-conversion-03.vert: 


Output:
Shader source:
/* [config]
 * expect_result: fail
 * glsl_version: 1.20
 * [end config]
 *
 * From page 20 (page 26 of the PDF) of the GLSL 1.20 spec:
 *
 *     "The conversions in the table above are done only as indicated
 *     by other sections of this specification."
 *
 * Neither section 6.1 (Function Definitions) nor section 6.4 (Jumps) make any
 * mention of implicit conversions occuring on the expression of a return
 * statement.
 */
#version 120

float function(int i)
{
   return i;
}

Back to summary