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
ext_gpu_shader4: add compiler tests for everything
[piglit.git]
/
tests
/
spec
/
glsl-1.20
/
compiler
/
constructor
/
struct-2.vert
blob
eecab51995d86f3a3fe1f3aeff1c5c5d08631ec6
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.20
4
// [end config]
5
6
/* FAIL */
7
#version 120
8
struct s { vec2 f; };
9
10
void main()
11
{
12
s t = s(vec3(1.0, 3.0, 0.0)); // Only Section 4.1.10 “Implicit Conversions.” are allowed
13
}