projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
337a74a
)
svga: set buffer bind_flags in svga_buffer_add_host_surface()
author
Brian Paul
<brianp@vmware.com>
Thu, 6 Sep 2018 20:56:47 +0000
(14:56 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000
(13:07 -0600)
To match the in-house VMware code.
Signed-off-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_resource_buffer_upload.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_resource_buffer_upload.c
b/src/gallium/drivers/svga/svga_resource_buffer_upload.c
index 93a6dee0724a4204f9731133292d882bc513bc6d..74c3bc4ed61c39aa1cef21d37828f1c527557dbf 100644
(file)
--- a/
src/gallium/drivers/svga/svga_resource_buffer_upload.c
+++ b/
src/gallium/drivers/svga/svga_resource_buffer_upload.c
@@
-316,6
+316,9
@@
svga_buffer_add_host_surface(struct svga_buffer *sbuf,
/* add the surface to the surface list */
LIST_ADD(&bufsurf->list, &sbuf->surfaces);
+ /* Set the new bind flags for this buffer resource */
+ sbuf->bind_flags = bind_flags;
+
return PIPE_OK;
}