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
ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git]
/
tests
/
spec
/
glsl-es-3.00
/
compiler
/
utf8-function.vert
blob
c348ba6fd8e791da9b64dfab4ca8d52f54c8f13e
1
#version 300 es
2
3
/* [config]
4
* expect_result: fail
5
* glsl_version: 3.00
6
* [end config]
7
*
8
* While UTF-8 is allowed inside comments, sections 3.1 and 3.8 of the OpenGL
9
* ES Shading Language 3.00 spec say that only ASCII characters are allowed
10
* elsewhere.
11
*/
12
13
uniform float foo;
14
15
float föö(void)
16
{
17
return foo;
18
}
19
void main()
20
{
21
gl_Position = vec4(föö());
22
}