Results for spec/glsl-1.10/preprocessor/modulus-by-zero.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.323337078094
note
Returncode was 1
command
/Users/mks/Downloads/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.10/preprocessor/modulus-by-zero.vert fail 1.10
errors
  • Successfully compiled vertex shader tests/spec/glsl-1.10/preprocessor/modulus-by-zero.vert: (no compiler output)
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/spec/glsl-1.10/preprocessor/modulus-by-zero.vert: (no compiler output)


Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.10
// [end config]
//
// The C preprocessor is supposed to generate an error for division by zero,
// and the GLSL spec says that the GLSL preprocessor behaves like the C
// preprocessor.

#if 1 % 0
/* empty */
#endif

void main()
{
	gl_Position = vec4(0.0);
}

Back to summary