Added assert that result != arg0 in do_RSW. This currently fails and needs fixing.
This commit is contained in:
@@ -129,6 +129,8 @@ static void do_RSW( struct arb_vp_machine *m, union instruction op )
|
|||||||
GLuint swz = op.rsw.swz;
|
GLuint swz = op.rsw.swz;
|
||||||
GLuint neg = op.rsw.neg;
|
GLuint neg = op.rsw.neg;
|
||||||
|
|
||||||
|
ASSERT(result != arg0); /* this would be very bad */
|
||||||
|
|
||||||
result[0] = arg0[GET_RSW(swz, 0)];
|
result[0] = arg0[GET_RSW(swz, 0)];
|
||||||
result[1] = arg0[GET_RSW(swz, 1)];
|
result[1] = arg0[GET_RSW(swz, 1)];
|
||||||
result[2] = arg0[GET_RSW(swz, 2)];
|
result[2] = arg0[GET_RSW(swz, 2)];
|
||||||
|
Reference in New Issue
Block a user