Results for spec/glsl-1.30/gl_fragment_precision_high.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.25
note Returncode was 1
errors
  • Failed to compile fragment shader tests/spec/glsl-1.30\\preprocessor\\feature-macros\\gl_fragment_precision_high.frag: Fragment shader failed to compile with the following errors:
  • ERROR: 0:18: error(#247) Function return is not matching type
  • ERROR: error(#273) 1 compilation errors. No code generated
info
Returncode: 1

Errors:
Failed to compile fragment shader tests/spec/glsl-1.30\preprocessor\feature-macros\gl_fragment_precision_high.frag: Fragment shader failed to compile with the following errors:
ERROR: 0:18: error(#247) Function return is not matching type
ERROR: error(#273) 1 compilation errors.  No code generated



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.30
// [end config]
//
// From section 4.5.4 of the GLSL 1.30 spec:
//     "The built-in macro GL_FRAGMENT_PRECISION_HIGH is defined to 1:
//         #define GL_FRAGMENT_PRECISION_HIGH 1
//     This macro is available in both the vertex and fragment languages."

#version 130

#if GL_FRAGMENT_PRECISION_HIGH != 1
#   error GL_FRAGMENT_PRECISION_HIGH != 1
#endif

float f() {
	return 0;
}

Back to summary