Results for spec@glsl-1.10@preprocessor@divide-by-zero.vert

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.131946
Stdout
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);
}

Stderr
Successfully compiled vertex shader /Users/vlee/workspace/piglit/tests/spec/glsl-1.10/preprocessor/divide-by-zero.vert: (no compiler output)
Environment
PIGLIT_SOURCE_DIR="/Users/vlee/workspace/piglit" PIGLIT_PLATFORM="mixed_glx_egl"
Command /Users/vlee/workspace/piglit/bin/glslparsertest /Users/vlee/workspace/piglit/tests/spec/glsl-1.10/preprocessor/divide-by-zero.vert fail 1.10
dmesg

        

Back to summary