Module: Mesa Branch: master Commit: 71e750f4822a1cdba24abf1fc48eabeeb77961f8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=71e750f4822a1cdba24abf1fc48eabeeb77961f8
Author: Vinson Lee <[email protected]> Date: Sat Feb 13 22:51:34 2010 -0800 softpipe: Silence uninitialized variable warnings. --- src/gallium/drivers/softpipe/sp_tex_sample.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index 824d8d1..ecd6b39 100644 --- a/src/gallium/drivers/softpipe/sp_tex_sample.c +++ b/src/gallium/drivers/softpipe/sp_tex_sample.c @@ -1682,6 +1682,9 @@ sample_cube(struct tgsi_sampler *tgsi_sampler, break; default: assert(0 && "bad cube face"); + sc = 0.0F; + tc = 0.0F; + ma = 0.0F; } { _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
