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
/
compiler
/
struct
/
assign-immedita-to-const.frag
blob
fa35d1934b381ceda60c97f505cee69db3c64a4f
1
/* [config]
2
* expect_result: pass
3
* glsl_version: 1.10
4
* [end config]
5
*
6
* Test for bug in TPPStreamCompiler::assignOperands?
7
*/
8
struct S {
9
float f;
10
};
11
12
void F(S s) {}
13
14
const S s = S(0.0);
15
16
void F()
17
{
18
F(s);
19
}
20
21
void main()
22
{
23
gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);
24
}