diff options
author | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2013-03-01 21:37:37 +0100 |
---|---|---|
committer | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2013-03-12 12:55:36 +0100 |
commit | 47f2179844bd21f8112367ef8ed0acead7160f10 (patch) | |
tree | 0b465f858c99e3bc84adbf1093cf10cdf6394426 /src/gallium/drivers/nv50/nv50_resource.c | |
parent | 7a91d3a2a4c4e7851fdb46465224213ce1874c9b (diff) | |
download | external_mesa3d-47f2179844bd21f8112367ef8ed0acead7160f10.zip external_mesa3d-47f2179844bd21f8112367ef8ed0acead7160f10.tar.gz external_mesa3d-47f2179844bd21f8112367ef8ed0acead7160f10.tar.bz2 |
nv50,nvc0: copy writable flag on surface creation
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_resource.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_resource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_resource.c b/src/gallium/drivers/nv50/nv50_resource.c index d5c330d..43c6998 100644 --- a/src/gallium/drivers/nv50/nv50_resource.c +++ b/src/gallium/drivers/nv50/nv50_resource.c @@ -43,6 +43,7 @@ nv50_surface_from_buffer(struct pipe_context *pipe, pipe_resource_reference(&sf->base.texture, pbuf); sf->base.format = templ->format; + sf->base.writable = templ->writable; sf->base.u.buf.first_element = templ->u.buf.first_element; sf->base.u.buf.last_element = templ->u.buf.last_element; |