projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
298d031
)
anv/cmd_buffer: Reset the command buffer in BeginCommandBuffer
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 16 Oct 2015 01:28:00 +0000
(18:28 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 16 Oct 2015 01:28:00 +0000
(18:28 -0700)
src/vulkan/anv_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_cmd_buffer.c
b/src/vulkan/anv_cmd_buffer.c
index 19ad31167bf74d1db9ff9b21d597e8d0865e0ce6..b8783f9e212a61d289509afdfd45f20463e3e0bb 100644
(file)
--- a/
src/vulkan/anv_cmd_buffer.c
+++ b/
src/vulkan/anv_cmd_buffer.c
@@
-258,6
+258,8
@@
VkResult anv_BeginCommandBuffer(
{
ANV_FROM_HANDLE(anv_cmd_buffer, cmd_buffer, cmdBuffer);
+ anv_cmd_buffer_reset_batch_bo_chain(cmd_buffer);
+
cmd_buffer->opt_flags = pBeginInfo->flags;
if (cmd_buffer->level == VK_CMD_BUFFER_LEVEL_SECONDARY) {