I copied together (from r200 driver) a patch which enables GL_NV_texture_rectangle on radeon.
The yuvrect.c test from mesa seems to work, but texrect.c doesnt. strange.
Other issues: 1) radeonEmitBlit uses an already shifted color_fmt, which is defined in radeon_reg.h, r200EmitBlit uses an unshifted color_fmt which is defined in r200_reg.h. -> should we shift back and forth in the radeon-driver to match the r200-driver?
2) I just included radeonEmitBlit and radeonEmitWait in radeon_ioctl.c, the r200-driver has a separate file r200_cmdbuf.c for them.
3) which drmMinor is needed to support the new cmd-packets?
4) no AGP-texturing
Any hints?
greetings, Andreas
nv_rectangle.patch
Description: Binary data