From: Leif D. <lde...@re...> - 2003-05-21 21:26:42
|
On Wed, 21 May 2003, Ian Romanick wrote: > Andreas Stenglein wrote: > > well... > > but I thought those textures are supported > > on old Radeon hardware only > > with radeon.o kernelmodules 1.6 and above. > > (After r200-branch to trunk merge) > > > > Or is this issue not an issue as it wouldnt > > really "hurt"? > > I don't know of anything in the DRM that should make any difference WRT > YUV texture support. Keith or Michel might know if there is any issue, > though. Ideas? Andreas is correct. It's becuase the new formats weren't added to the switch in the texture blit function until 1.6, which means older versions will produce an "invalid texture format" error. This issue is also present with the r128 patch. Rage 128 needs to have the datatype defines added to r128_drv.h and it needs to check for the new formats in the switch in the blit dispatch function (r128_state.c). With that addition, the r128 patch works. Also, the r100 driver (like r200) needs two defines added to radeon_texstate.c to remap the Mesa format names to the real names: #define RADEON_TXFORMAT_YCBCR RADEON_TXFORMAT_YVYU422 #define RADEON_TXFORMAT_YCBCR_REV RADEON_TXFORMAT_VYUY422 I was just working on a patch with some of these changes. Also, mach64 supports this as well, so I can add it in the branch. -- Leif Delgass http://www.retinalburn.net |