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-3.vert
blob
fafaf85e67095f09e4c4241259403d4dca73360c
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(1); // Only Section 4.1.10 “Implicit Conversions.” are allowed
15
}