search for: nvws

Displaying 8 results from an estimated 8 matches for "nvws".

Did you mean: nvqs
2009 May 06
2
nv50: shader generation patches
Hi ! I've been trying to improve NV50 shader generation a bit the last couple of weeks, so here is what I've produced. I don't know if it's usable for you or just a pile of horrible hacks, but at least it makes some mesa demos render more correcly, p.e. the teapot (aside from mip-mapping issues of the floor texture), arbfplight, and I think the gears also didn't appear as they
2009 Dec 20
2
[PATCH 1/2] nv50: don't emit reloc markers after a referenced vtxbuf is mapped
...screen.h +++ b/src/gallium/drivers/nv50/nv50_screen.h @@ -2,6 +2,7 @@ #define __NV50_SCREEN_H__ #include "nouveau/nouveau_screen.h" +#include "nv50_context.h" struct nv50_screen { struct nouveau_screen base; @@ -9,6 +10,7 @@ struct nv50_screen { struct nouveau_winsys *nvws; unsigned cur_pctx; + struct nv50_context *cur_ctx; struct nouveau_grobj *tesla; struct nouveau_grobj *eng2d; diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c index 871e809..8cf4ff4 100644 --- a/src/gallium/drivers/nv50/nv50_stat...
2009 Dec 20
1
[PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...screen.h +++ b/src/gallium/drivers/nv50/nv50_screen.h @@ -2,6 +2,7 @@ #define __NV50_SCREEN_H__ #include "nouveau/nouveau_screen.h" +#include "nv50_context.h" struct nv50_screen { struct nouveau_screen base; @@ -9,6 +10,7 @@ struct nv50_screen { struct nouveau_winsys *nvws; unsigned cur_pctx; + struct nv50_context *cur_ctx; struct nouveau_grobj *tesla; struct nouveau_grobj *eng2d; diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c index 871e809..8cf4ff4 100644 --- a/src/gallium/drivers/nv50/nv50_stat...
2009 Mar 06
0
[PATCH] Fix nouveau_pipe_create() / nouveau_context_init(): raise an error if the screen/pipe creation failed
...nsys/drm/nouveau/common/nouveau_winsys.c +++ b/src/gallium/winsys/drm/nouveau/common/nouveau_winsys.c @@ -133,8 +133,13 @@ nouveau_pipe_create(struct nouveau_context *nv) ws = nouveau_create_pipe_winsys(nv); - if (!nvc->pscreen) + if (!nvc->pscreen) { nvc->pscreen = hws_create(ws, nvws); + if (!nvc->pscreen) { + NOUVEAU_ERR("Couldn't create hw screen\n"); + return NULL; + } + } nvc->pctx[nv->pctx_id] = hw_create(nvc->pscreen, nv->pctx_id); return nvc->pctx[nv->pctx_id]; } -- 1.5.6.3 --------------020306070001090004020404--
2009 Mar 06
2
[PATCH] Enable NV96 support
...ine NV8X_GRCLASS8297_CHIPSETS 0x00000050 -#define NV9X_GRCLASS8297_CHIPSETS 0x00000014 +#define NV9X_GRCLASS8297_CHIPSETS 0x00000054 static boolean nv50_screen_is_format_supported(struct pipe_screen *pscreen, @@ -190,12 +190,6 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_winsys *nvws) } /* 3D object */ - if ((chipset & 0xf0) != 0x50 && (chipset & 0xf0) != 0x80) { - NOUVEAU_ERR("Not a G8x chipset\n"); - nv50_screen_destroy(&screen->pipe); - return NULL; - } - switch (chipset & 0xf0) { case 0x50: if (NV5X_GRCLASS5097_CHIPSETS &...
2009 Apr 08
0
[PATCH/Gallium] nv50: update nv50_clear to new interface
..., double depth, unsigned stencil) { + struct pipe_surface *ps = NULL; + /* silenced 'used uninitialized' warning by setting NULL, + * GCC doesn't know it can't actually happen */ struct nv50_context *nv50 = nv50_context(pipe); struct nouveau_channel *chan = nv50->screen->nvws->channel; struct nouveau_grobj *tesla = nv50->screen->tesla; @@ -37,21 +42,45 @@ nv50_clear(struct pipe_context *pipe, struct pipe_surface *ps, struct pipe_scissor_state sc, s_sc = nv50->scissor; unsigned dirty = nv50->dirty; + /* if 'no buffers' case is possible, chan...
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...screen.h +++ b/src/gallium/drivers/nv50/nv50_screen.h @@ -2,6 +2,7 @@ #define __NV50_SCREEN_H__ #include "nouveau/nouveau_screen.h" +#include "nv50_context.h" struct nv50_screen { struct nouveau_screen base; @@ -9,6 +10,7 @@ struct nv50_screen { struct nouveau_winsys *nvws; unsigned cur_pctx; + struct nv50_context *cur_ctx; struct nouveau_grobj *tesla; struct nouveau_grobj *eng2d; diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c index c8bdf9d..6827863 100644 --- a/src/gallium/drivers/nv50/nv50_stat...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...CPL#eM*lhHj(8%2Dba`9}Oh-5{wBfd&;^PhNcT!}}cO1w3y46OI56xx_R zvw#-Krl5%75HTDgNm?|?rV9b_+8D3NNTZ50g`^-$e+>~3;ZAz)rcXt9g`GTw^prXU za1uAJNF@=U5=nI at sh;LvuS|)wg3*-V-b)?HB7*c+cLVJ5+Lsqr>h-43(Yos&+2BYh zf2-ICYQiykdU74BXF5PWwjChj^n6Ikd#XB{OMT`tpSj#;uJD;Feda2kIhUKOedZdU zxz=Z{^O@^?<_4d+(PwV*nVWs)huqxa>*jMDCgb(X9VQQ=ca0=2J`lZ&rq=;_VR!(I z%?b5OFwrZ)MyCW_TgBd?wCzddWxtO;`}9ktvG5Bo{{Fd_e*awf`S2f}exb+jfAzN> zFFyU;!}cfZ!Zu`ic<dgd4hbdp at J&O1 at kb`*Pwh7&G4K(29Ri~i0~@;04SST%a_F~X zKj}BGqUjUy=+m3u8X^6uU6wXwWADG{vsv4B-r4k*zq}{i{F1chXKT(CHorOka=$mn z{VE<h+eKn^b#-x8*sNh9owbS6o...