1 Mar 2010 03:25
Re: [PATCH] Nouveau_vieux "fixes"
Francisco Jerez <currojerez <at> riseup.net>
2010-03-01 02:25:01 GMT
2010-03-01 02:25:01 GMT
randrianasulu <at> gmail.com writes:
> Hello all!
>
> After unsuccesfull battle with git-send-email I just send these two patches from Kmail. Botch as
attachments and inlin, but inline
> version probably will be damaged in process.....
>
Thanks, both patches pushed (after some minor reformatting: please, use
git-format-patch next time).
> Patch 1: add XRGB8888 into nouveau_fbo.c, makes xmoto actually display its demo, not abort
>
> diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
> index 1db8c5d..8464786 100644
> --- a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
> +++ b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
> <at> <at> -215,6 +215,8 <at> <at> get_tex_format(struct gl_texture_image *ti)
> switch (ti->TexFormat) {
> case MESA_FORMAT_ARGB8888:
> return GL_RGBA8;
> + case MESA_FORMAT_XRGB8888:
> + return GL_RGB8;
> case MESA_FORMAT_RGB565:
> return GL_RGB5;
> default:
>
>
> Patch 2: add two stencil operation cases in nv04_state_raster.c, allow demos/reflect and
demos/dinoshade actually work. Dinoshade
(Continue reading)
RSS Feed