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
fix the spelling in whole piglit
[piglit.git]
/
tests
/
glslparsertest
/
shaders
/
function3.frag
blob
46a92022758fd74a3512c45efa0b003baee2660e
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
//
5
// [end config]
6
7
void function(const int i)
8
{
9
i = 3; // const value can't be modified
10
}
11
12
void main()
13
{
14
int i;
15
function(i);
16
}
17
18