diff options
author | Christoph Bumiller <[email protected]> | 2011-07-21 10:39:41 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-07-21 10:39:41 +0200 |
commit | ea316c5e060cbd92b34e0d794c0707d4ca79e6e8 (patch) | |
tree | 1e4f88cbdecb35c5eb45661871d588fed24c5355 /src/gallium/drivers/nv50/nv50_context.c | |
parent | 76bccaff0c54aed10ffbc7c7dc744f1708921409 (diff) |
nouveau: hook up video decoding with nouveau_context
This doesn't include nvfx since its context struct is not derived
from common nouveau_context (yet).
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c index ac3e361a446..0d464063b5b 100644 --- a/src/gallium/drivers/nv50/nv50_context.c +++ b/src/gallium/drivers/nv50/nv50_context.c @@ -149,6 +149,8 @@ nv50_create(struct pipe_screen *pscreen, void *priv) assert(nv50->draw); draw_set_rasterize_stage(nv50->draw, nv50_draw_render_stage(nv50)); + nouveau_context_init_vdec(&nv50->base); + return pipe; } |