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-5.vert
blob
46add1463f75aa6e8b8903d980e480891499628e
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.20
4
// [end config]
5
6
/* FAIL */
7
#version 120
8
struct s1 { float f; };
9
10
struct s2 { s1 g; };
11
12
void main()
13
{
14
s2 t = s2(s2(s1(1))); // Only Section 4.1.10 “Implicit Conversions.” are allowed
15
}