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
/
shaders
/
function8.frag
blob
d7c758b97befca2806045d6a04452d0b8b084307
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
//
5
// [end config]
6
7
void function(const inout int i)
8
{ // inout parameters cannot be const
9
i = 3;
10
}
11
12
void main()
13
{
14
int i;
15
function(i);
16
}
17
18