repo.or.cz
/
piglit
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add more structure constructor tests.
[piglit/hramrach.git]
/
tests
/
shaders
/
glsl-const-builtin-notEqual-06.shader_test
blob
e9b0e0f355cc0d7418d295d9ca03a4658cb2a5d7
1
2
[require]
3
GL >= 2.0
4
GLSL >= 1.20
5
6
[vertex shader file]
7
glsl-mvp.vert
8
9
[fragment shader]
10
#version 120
11
void main()
12
{
13
const bvec3 res = notEqual(ivec3(0, 8, 89),
14
ivec3(4, -7, 33));
15
gl_FragColor = (res == bvec3(true, true, true))
16
? vec4(0.0, 1.0, 0.0, 1.0) : vec4(1.0, 0.0, 0.0, 1.0);
17
}
18
19
[test]
20
clear color 0.0 0.0 0.0 0.0
21
clear
22
ortho
23
draw rect 10 10 10 10
24
probe rgb 15 15 0.0 1.0 0.0