diff options
author | Christoph Brill <egore911@egore911.de> | 2008-02-28 22:33:46 +0100 |
---|---|---|
committer | Christoph Brill <egore911@egore911.de> | 2008-02-28 22:37:15 +0100 |
commit | 981b7da8a7e263979ce68d39b122b4cc7adea8e3 (patch) | |
tree | 981ad818f02804be361f08ff78a9e11042cd97cb /src/mesa/drivers/dri/r300/r300_ioctl.c | |
parent | 9c8f27ba1366da07e20e86a0d48341ea97f5cda4 (diff) |
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.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_ioctl.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |