Commit fd6c9c96 authored by Chad Versace's avatar Chad Versace
Browse files

glsl-1.30: Test for built-in macro GL_FRAGMENT_PRECISION_HIGH

parent 289738d8
// [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;
}
// [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;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment