From: Brian Paul Date: Fri, 28 Oct 2005 14:41:06 +0000 (+0000) Subject: Added assert that result != arg0 in do_RSW. This currently fails and needs fixing. X-Git-Tag: 062012170305~21799 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3c98e6205c52616ea60e27f2b4537e24d8beac4;p=profile%2Fivi%2Fmesa.git Added assert that result != arg0 in do_RSW. This currently fails and needs fixing. --- diff --git a/src/mesa/tnl/t_vb_arbprogram.c b/src/mesa/tnl/t_vb_arbprogram.c index 8b16835..68499fa 100644 --- a/src/mesa/tnl/t_vb_arbprogram.c +++ b/src/mesa/tnl/t_vb_arbprogram.c @@ -129,6 +129,8 @@ static void do_RSW( struct arb_vp_machine *m, union instruction op ) GLuint swz = op.rsw.swz; GLuint neg = op.rsw.neg; + ASSERT(result != arg0); /* this would be very bad */ + result[0] = arg0[GET_RSW(swz, 0)]; result[1] = arg0[GET_RSW(swz, 1)]; result[2] = arg0[GET_RSW(swz, 2)];