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
arb_framebuffer_object: add missing MSAA alpha-to-coverage and alpha-to-one tests
[piglit.git]
/
tests
/
spec
/
glsl-1.10
/
preprocessor
/
divide-by-zero.vert
blob
5ce7be56ea74e1bc3d7da384306686856e7ef8e4
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
// [end config]
5
//
6
// The C preprocessor is supposed to generate an error for division by zero,
7
// and the GLSL spec says that the GLSL preprocessor behaves like the C
8
// preprocessor.
9
10
#if 1 / 0
11
/* empty */
12
#endif
13
14
void main()
15
{
16
gl_Position = vec4(0.0);
17
}