diff options
author | Christoph Bumiller <[email protected]> | 2011-07-28 15:54:53 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-08-04 15:38:49 +0200 |
commit | e9d84dab8817a0a7e463229b9a2820b00a9ce667 (patch) | |
tree | d5d79f592e21a3298ef731ace57ae7ccf2fadea6 /src/gallium/drivers/nv50/nv50_screen.c | |
parent | f253d83bc72e7d26df8cd3a04747b3d46a8543e6 (diff) |
nv50: implement resource_resolve with custom blit
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_screen.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_screen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c index 4139b85a9ae..07a74cc2b9f 100644 --- a/src/gallium/drivers/nv50/nv50_screen.c +++ b/src/gallium/drivers/nv50/nv50_screen.c @@ -91,6 +91,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_SHADOW_MAP: case PIPE_CAP_NPOT_TEXTURES: case PIPE_CAP_ANISOTROPIC_FILTER: + case PIPE_CAP_SCALED_RESOLVE: return 1; case PIPE_CAP_SEAMLESS_CUBE_MAP: return nv50_screen(pscreen)->tesla->grclass >= NVA0_3D; @@ -604,6 +605,9 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev) screen->mm_VRAM_fe0 = nouveau_mm_create(dev, NOUVEAU_BO_VRAM, 0xfe0); + if (!nv50_blitctx_create(screen)) + goto fail; + nouveau_fence_new(&screen->base, &screen->base.fence.current, FALSE); return pscreen; |