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
perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git]
/
tests
/
spec
/
glsl-1.50
/
compiler
/
interface-blocks-basic.frag
blob
8cde0078cc06fe90a950fdd78163657d0fa009ca
1
// [config]
2
// expect_result: pass
3
// glsl_version: 1.50
4
// check_link: true
5
// [end config]
6
7
#version 150
8
9
in block_without_instance_name {
10
vec4 iface_var;
11
};
12
13
uniform block_with_instance_name {
14
vec4 iface_var;
15
} instance_name_for_iface;
16
17
in in_block {
18
smooth in vec4 in_inside_in_block;
19
} in_block_instance;
20
21
void main()
22
{
23
vec4 a = iface_var;
24
a = instance_name_for_iface.iface_var;
25
a = in_block_instance.in_inside_in_block;
26
}
27