From 981b7da8a7e263979ce68d39b122b4cc7adea8e3 Mon Sep 17 00:00:00 2001 From: Christoph Brill Date: Thu, 28 Feb 2008 22:33:46 +0100 Subject: r300: R5xx and R3xx use different registers for RS_IP and RS_INST These changes are taken from the xf86-video-ati driver. They update the header file accordingly and also remove some UNKOWN variables. --- src/mesa/drivers/dri/r300/r300_ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/r300/r300_ioctl.c') diff --git a/src/mesa/drivers/dri/r300/r300_ioctl.c b/src/mesa/drivers/dri/r300/r300_ioctl.c index ff9c2c880d..02c67e8ef9 100644 --- a/src/mesa/drivers/dri/r300/r300_ioctl.c +++ b/src/mesa/drivers/dri/r300/r300_ioctl.c @@ -272,9 +272,9 @@ static void r300EmitClearState(GLcontext * ctx) ((dPriv->h * 6) << R300_POINTSIZE_Y_SHIFT)); R300_STATECHANGE(r300, ri); - reg_start(R300_RS_INTERP_0, 8); + reg_start(R300_RS_IP_0, 8); for (i = 0; i < 8; ++i) { - e32(R300_RS_INTERP_USED); + e32(R300_RS_SEL_T(1) | R300_RS_SEL_R(2) | R300_RS_SEL_Q(3)); } R300_STATECHANGE(r300, rc); -- cgit v1.2.3