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-es-3.00
/
compiler
/
buffer-variable-name.vert
blob
b001d163ec0c98bb7ca6939c801a55e7394d4cc3
1
/* [config]
2
* expect_result: pass
3
* glsl_version: 3.00 es
4
* [end config]
5
*
6
* Make sure that 'buffer' is a valid identifier in ES 3.0. It becomes a
7
* keyword in ES 3.1
8
*/
9
#version 300 es
10
11
in vec4 position;
12
13
void main()
14
{
15
float buffer = 2.0;
16
gl_Position = position * buffer;
17
}