summaryrefslogtreecommitdiffstats
path: root/progs/glsl/noise.c
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2008-12-15 11:16:03 +0000
committerAlan Hourihane <[email protected]>2008-12-15 11:16:03 +0000
commita22d865f93a1db7f72e0bfe216810f67bf4c2f2c (patch)
treeed66dfad2f0907967e4c5e40a338b6a143b1dd7b /progs/glsl/noise.c
parentf72848a09a9d3069705fbe8e4daa29b9918ea56e (diff)
parente72a44215312ae1f3c812ba28e47b4aec3589de9 (diff)
Merge commit 'origin/master' into gallium-0.2
Diffstat (limited to 'progs/glsl/noise.c')
-rw-r--r--progs/glsl/noise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/glsl/noise.c b/progs/glsl/noise.c
index 9da71ac775e..bd8f50036bf 100644
--- a/progs/glsl/noise.c
+++ b/progs/glsl/noise.c
@@ -30,6 +30,7 @@ static const char *FragShaderText =
" vec4 p;\n"
" p.xy = gl_TexCoord[0].xy;\n"
" p.z = Slice;\n"
+ " p.w = 0;\n"
" vec4 n = noise4(p * scale);\n"
" gl_FragColor = n * Scale + Bias;\n"
"}\n";