repo.or.cz
/
piglit
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add more structure constructor tests.
[piglit/hramrach.git]
/
tests
/
glslparsertest
/
glsl2
/
return-conversion.frag
blob
f02ea9bc2c513f08289920346b61382c5e586c5f
1
/* FAIL - no implicit conversions for return values */
2
float foo()
3
{
4
int x = 1;
5
return x;
6
}
7
void main()
8
{
9
gl_FragColor = vec4(0.0, foo(), 0.0, 0.0);
10
}