Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.233000040054 |
| note | Returncode was 1 |
| errors |
|
| info | Returncode: 1
Errors:
Failed to compile vertex shader tests/spec/glsl-1.30\preprocessor\feature-macros\gl_fragment_precision_high.vert: Vertex 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;
}
|