repo.or.cz
/
mesa
/
mesa-lb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gallium: change remaining util functions to use cso sampler views
[mesa/mesa-lb.git]
/
progs
/
vpglsl
/
off2f.glsl
blob
e06cb42a0edd19f22bc170b9ef3a8fea0e7bb29e
1
const int KernelSize = 8;
2
uniform vec2 Offset2f[KernelSize];
3
uniform vec4 KernelValue4f[KernelSize];
4
5
void main(void)
6
{
7
int i;
8
vec4 sum = vec4(0.0);
9
vec4 tmp = gl_Color;
10
vec2 rg, ba;
11
gl_Position = gl_Vertex;
12
13
rg = Offset2f[4];
14
ba = Offset2f[5];
15
16
17
gl_FrontColor = KernelValue4f[0] * vec4(rg, ba);
18
}