I think I missed some lines in file radeon_texstate.c function import_tex_obj_state() ... cmd[TEX_PP_TXSIZE] = texobj->pp_txsize; /* NPOT only! */ cmd[TEX_PP_TXPITCH] = texobj->pp_txpitch; /* NPOT only! */ ... unfortunately it isnt possible to just copy from r200 ;) since the registers are on different places (relative to RADEON_PP_TXFORMAT_0) when you substitute R200_PP_TXSIZE_0 -> RADEON_PP_TEX_SIZE_0 . I cant find an equivalent for R200_PP_TXPITCH_0 in the radeon registers, maybe its between RADEON_PP_TEX_SIZE_0 and RADEON_PP_TEX_SIZE_1 ? Or is handling of NPOT textures completely different on radeon?
best regards, Andreas
Am 2003.05.30 00:56:42 +0200 schrieb(en) Andreas Stenglein:
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
------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel