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
cl: Don't use device_infos if num_device_infos == 0
[piglit.git]
/
tests
/
glslparsertest
/
glsl2
/
pragma-03.vert
blob
20bb3fdcf7b139910a06f8bab15c43c14ed3741a
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
//
5
// [end config]
6
7
/* FAIL
8
*
9
* From page 11 (page 17 of the PDF) of the GLSL 1.10 spec:
10
*
11
* "[#pragma debug] can only be used outside function definitions."
12
*/
13
void main()
14
{
15
#pragma debug(off)
16
gl_Position = gl_Vertex;
17
}