projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee9a6a1
)
v3d: Don't forget to initialize the buffer offset of a new winsys handle.
author
Eric Anholt
<eric@anholt.net>
Wed, 20 Jun 2018 23:56:26 +0000
(16:56 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 21 Jun 2018 22:56:18 +0000
(15:56 -0700)
src/gallium/drivers/v3d/v3d_resource.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3d_resource.c
b/src/gallium/drivers/v3d/v3d_resource.c
index b91ab30708ea9f0187b462ca760e405948f387ba..cd49c1af52bc7ba67fccef1bc1fa19e02cbf6bc0 100644
(file)
--- a/
src/gallium/drivers/v3d/v3d_resource.c
+++ b/
src/gallium/drivers/v3d/v3d_resource.c
@@
-316,6
+316,7
@@
v3d_resource_get_handle(struct pipe_screen *pscreen,
struct v3d_bo *bo = rsc->bo;
whandle->stride = rsc->slices[0].stride;
+ whandle->offset = 0;
/* If we're passing some reference to our BO out to some other part of
* the system, then we can't do any optimizations about only us being