Commit 1b283e54 authored by Chad Versace's avatar Chad Versace

glsl-1.00, glsl-1.30: Add tests for precision qualifiers on bvec2

parent b62fb8b3
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// Precision qualifiers cannot be applied to boolean vectors.
//
// From section 4.5.2 of the GLSL 1.30 spec:
// Literal constants do not have precision qualifiers. Neither do Boolean
// variables.
#version 130
float f() {
lowp bvec2 v;
return 0.0;
}
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// Precision qualifiers cannot be applied to boolean vectors.
//
// From section 4.5.2 of the GLSL 1.30 spec:
// Literal constants do not have precision qualifiers. Neither do Boolean
// variables.
#version 130
float f() {
lowp bvec2 v;
return 0.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