Module: Mesa Branch: master Commit: 0df3dfab82539c2477bfd4d254d1f2c6e35efb57 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0df3dfab82539c2477bfd4d254d1f2c6e35efb57
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 9da71ac..bd8f500 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"; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
