Module: Mesa Branch: mesa_7_0_branch Commit: 547de60d95326ef826f122d144472a4e9d50434d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=547de60d95326ef826f122d144472a4e9d50434d
Author: Gary Wong <[email protected]> Date: Sat Dec 13 12:58:18 2008 -0700 Ensure p.w is initialised in noise demo. --- progs/glsl/noise.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/progs/glsl/noise.c b/progs/glsl/noise.c index adccd1a..440e388 100644 --- a/progs/glsl/noise.c +++ b/progs/glsl/noise.c @@ -29,6 +29,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"; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
