repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ext_gpu_shader4: add compiler tests for everything
[piglit.git]
/
tests
/
spec
/
glsl-1.10
/
compiler
/
version-macro.frag
blob
b005998f43071682d71caf9c4d1323e19a7f932a
1
// [config]
2
// expect_result: pass
3
// glsl_version: 1.10
4
// [end config]
5
6
#version 110
7
#if !defined __VERSION__
8
#error __VERSION__ not defined.
9
#endif
10
#if __VERSION__ != 110
11
#error __VERSION__ is not 110
12
#endif
13
14
void main() { }