search for: nv50_init_state_functions

Displaying 5 results from an estimated 5 matches for "nv50_init_state_functions".

2014 Jan 12
0
[PATCH] nv50, nvc0: initialize ctx->sample_mask to ~0
...+ 2 files changed, 4 insertions(+) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_state.c b/src/gallium/drivers/nouveau/nv50/nv50_state.c index b6a180e..87dd07f 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_state.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_state.c @@ -1123,4 +1123,6 @@ nv50_init_state_functions(struct nv50_context *nv50) pipe->create_stream_output_target = nv50_so_target_create; pipe->stream_output_target_destroy = nv50_so_target_destroy; pipe->set_stream_output_targets = nv50_set_stream_output_targets; + + nv50->sample_mask = ~0; } diff --git a/src/gallium/driv...
2014 Jun 17
0
[PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...; - if (!screen->cur_ctx) { - screen->cur_ctx = nv50; - nouveau_pushbuf_bufctx(screen->base.pushbuf, nv50->bufctx); - } - nv50->base.pushbuf->kick_notify = nv50_default_kick_notify; - nv50_init_query_functions(nv50); nv50_init_surface_functions(nv50); nv50_init_state_functions(nv50); @@ -313,26 +385,20 @@ nv50_create(struct pipe_screen *pscreen, void *priv) flags = NOUVEAU_BO_GART | NOUVEAU_BO_WR; - BCTX_REFN_bo(nv50->bufctx_3d, SCREEN, flags, screen->fence.bo); - BCTX_REFN_bo(nv50->bufctx, FENCE, flags, screen->fence.bo); + BCTX_REFN_bo(nv50-&g...
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
...- screen->cur_ctx = nv50; > - nouveau_pushbuf_bufctx(screen->base.pushbuf, nv50->bufctx); > - } > - nv50->base.pushbuf->kick_notify = nv50_default_kick_notify; > - > nv50_init_query_functions(nv50); > nv50_init_surface_functions(nv50); > nv50_init_state_functions(nv50); > @@ -313,26 +385,20 @@ nv50_create(struct pipe_screen *pscreen, void *priv) > > flags = NOUVEAU_BO_GART | NOUVEAU_BO_WR; > > - BCTX_REFN_bo(nv50->bufctx_3d, SCREEN, flags, screen->fence.bo); > - BCTX_REFN_bo(nv50->bufctx, FENCE, flags, screen->fence.bo)...
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