projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b37362
)
gallium/radeon: ignore PIPE_BIND_SHARED for buffers
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 27 Jun 2017 17:21:29 +0000
(19:21 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 4 Jul 2017 13:40:37 +0000
(15:40 +0200)
BO exports can't be predicted this way.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_buffer_common.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/r600_buffer_common.c
b/src/gallium/drivers/radeon/r600_buffer_common.c
index 5336f55cb5720effbd7744f8a06002897e96a2a7..342695c138725a41b996b5a3d9f0baa489bd50c3 100644
(file)
--- a/
src/gallium/drivers/radeon/r600_buffer_common.c
+++ b/
src/gallium/drivers/radeon/r600_buffer_common.c
@@
-610,8
+610,6
@@
struct pipe_resource *r600_buffer_create(struct pipe_screen *screen,
r600_init_resource_fields(rscreen, rbuffer, templ->width0, alignment);
- if (templ->bind & PIPE_BIND_SHARED)
- rbuffer->flags |= RADEON_FLAG_HANDLE;
if (templ->flags & PIPE_RESOURCE_FLAG_SPARSE)
rbuffer->flags |= RADEON_FLAG_SPARSE;