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.20
/
compiler
/
version-macro.frag
blob
71575816edc687719ea71411f807090dad677556
1
// [config]
2
// expect_result: pass
3
// glsl_version: 1.20
4
// [end config]
5
6
#version 120
7
#if !defined __VERSION__
8
#error __VERSION__ not defined.
9
#endif
10
#if __VERSION__ != 120
11
#error __VERSION__ is not 120
12
#endif
13
14
void main() { }