search for: nv50_invalidate_resource_storage

Displaying 6 results from an estimated 6 matches for "nv50_invalidate_resource_storage".

2014 Nov 16
1
[PATCH 1/2] nv50, nvc0: actually check constbufs for invalidation
...insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_context.c b/src/gallium/drivers/nouveau/nv50/nv50_context.c index 07f6378..5e907d7 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_context.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_context.c @@ -214,8 +214,9 @@ nv50_invalidate_resource_storage(struct nouveau_context *ctx, if (res->bind & PIPE_BIND_CONSTANT_BUFFER) { for (s = 0; s < 3; ++s) { - assert(nv50->num_vtxbufs <= NV50_MAX_PIPE_CONSTBUFS); - for (i = 0; i < nv50->num_vtxbufs; ++i) { + for (i = 0; i < NV50_MAX_PIPE_CONSTBUFS; ++i...
2014 Jan 13
20
[PATCH 00/19] nv50: add sampler2DMS/GP support to get OpenGL 3.2
OK, so there's a bunch of stuff in here. The geometry stuff is based on the work started by Bryan Cain and Christoph Bumiller. Patches 01-12: Add support for geometry shaders and fix related issues Patches 13-14: Make it possible for fb clears to operate on texture attachments with an explicit layer set (as is allowed in gl 3.2). Patches 15-17: Make ARB_texture_multisample work
2014 Jun 17
0
[PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...0_3D_QUERY_GET_QUERY_SELECT_ZERO | + NV50_3D_QUERY_GET_SHORT); +} + +static u32 +nv50_context_fence_update(struct nouveau_fence_mgr *mgr) +{ + struct nv50_context *nv50 = NULL; + + nv50 = container_of(mgr, nv50, base.fence); + return nv50->fence.map[0]; +} + static int nv50_invalidate_resource_storage(struct nouveau_context *ctx, struct pipe_resource *res, @@ -240,9 +290,29 @@ nv50_create(struct pipe_screen *pscreen, void *priv) if (!nv50_blitctx_create(nv50)) goto out_err; - nv50->base.pushbuf = screen->base.pushbuf; nv50->base.clien...
2014 Jun 17
2
[PATCH try 2 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- src/gallium/drivers/nouveau/nouveau_fence.c | 76 ++++++++++++------------- src/gallium/drivers/nouveau/nouveau_fence.h | 22 +++++-- src/gallium/drivers/nouveau/nouveau_screen.c | 9 +++ src/gallium/drivers/nouveau/nouveau_screen.h | 14 ++--- src/gallium/drivers/nouveau/nv30/nv30_context.c | 4 +-
2014 Jun 21
3
[Mesa-dev] [PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...UERY_GET_SHORT); > +} > + > +static u32 > +nv50_context_fence_update(struct nouveau_fence_mgr *mgr) > +{ > + struct nv50_context *nv50 = NULL; > + > + nv50 = container_of(mgr, nv50, base.fence); > + return nv50->fence.map[0]; > +} > + > static int > nv50_invalidate_resource_storage(struct nouveau_context *ctx, > struct pipe_resource *res, > @@ -240,9 +290,29 @@ nv50_create(struct pipe_screen *pscreen, void *priv) > if (!nv50_blitctx_create(nv50)) > goto out_err; > > - nv50->base.pushbuf = screen->base.push...
2014 Jun 16
2
[PATCH 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- src/gallium/drivers/nouveau/nouveau_fence.c | 76 ++++++++++++------------- src/gallium/drivers/nouveau/nouveau_fence.h | 22 +++++-- src/gallium/drivers/nouveau/nouveau_screen.c | 9 +++ src/gallium/drivers/nouveau/nouveau_screen.h | 14 ++--- src/gallium/drivers/nouveau/nv30/nv30_context.c | 4