Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Mesa
piglit
Commits
1b283e54
Commit
1b283e54
authored
Jan 13, 2011
by
Chad Versace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
glsl-1.00, glsl-1.30: Add tests for precision qualifiers on bvec2
parent
b62fb8b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
tests/spec/glsl-1.00/compiler/precision-qualifiers/precision-bool-02.frag
...1.00/compiler/precision-qualifiers/precision-bool-02.frag
+17
-0
tests/spec/glsl-1.30/compiler/precision-qualifiers/precision-bool-02.frag
...1.30/compiler/precision-qualifiers/precision-bool-02.frag
+17
-0
No files found.
tests/spec/glsl-1.00/compiler/precision-qualifiers/precision-bool-02.frag
0 → 100644
View file @
1b283e54
// [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
;
}
tests/spec/glsl-1.30/compiler/precision-qualifiers/precision-bool-02.frag
0 → 100644
View file @
1b283e54
// [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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment