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
/
assignment-type-mismatch.vert
blob
351229adc2259443491b56938edb4201a7d03548
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.10
4
//
5
// [end config]
6
7
/* FAIL - type mismatch in assignment
8
*/
9
uniform float alpha;
10
11
void main()
12
{
13
gl_Position = gl_Vertex;
14
15
/* This reproduces the assertion failure reported in bugzilla #30623.
16
*/
17
vec3 c = vec4(vec3(0.0, 1.0, 0.0), alpha);
18
19
gl_FrontColor = vec4(c, 1.0);
20
}