diff options
author | Christoph Bumiller <[email protected]> | 2013-03-01 21:37:37 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2013-03-12 12:55:36 +0100 |
commit | 47f2179844bd21f8112367ef8ed0acead7160f10 (patch) | |
tree | 0b465f858c99e3bc84adbf1093cf10cdf6394426 /src/gallium/drivers/nv50/nv50_miptree.c | |
parent | 7a91d3a2a4c4e7851fdb46465224213ce1874c9b (diff) |
nv50,nvc0: copy writable flag on surface creation
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_miptree.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_miptree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_miptree.c b/src/gallium/drivers/nv50/nv50_miptree.c index 7883edbe75e..b6eddb43d3f 100644 --- a/src/gallium/drivers/nv50/nv50_miptree.c +++ b/src/gallium/drivers/nv50/nv50_miptree.c @@ -406,6 +406,7 @@ nv50_surface_from_miptree(struct nv50_miptree *mt, pipe_resource_reference(&ps->texture, &mt->base.base); ps->format = templ->format; + ps->writable = templ->writable; ps->u.tex.level = templ->u.tex.level; ps->u.tex.first_layer = templ->u.tex.first_layer; ps->u.tex.last_layer = templ->u.tex.last_layer; |