projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca7acf
)
intel: clear intel_cmd_bind on reset
author
Chia-I Wu
<olvaffe@gmail.com>
Wed, 27 Aug 2014 04:51:26 +0000
(12:51 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Wed, 27 Aug 2014 04:52:19 +0000
(12:52 +0800)
icd/intel/cmd.c
patch
|
blob
|
history
diff --git
a/icd/intel/cmd.c
b/icd/intel/cmd.c
index 5dd962df48f3a7947f3f1573a554103e9c78c00a..ce4db29b701aeea1f8ef7feac9c28afe5e9a4648 100644
(file)
--- a/
icd/intel/cmd.c
+++ b/
icd/intel/cmd.c
@@
-138,6
+138,9
@@
static void cmd_reset(struct intel_cmd *cmd)
cmd_writer_reset(cmd, &cmd->batch);
cmd_writer_reset(cmd, &cmd->state);
cmd_writer_reset(cmd, &cmd->kernel);
+
+ memset(&cmd->bind, 0, sizeof(cmd->bind));
+
cmd->reloc_used = 0;
cmd->result = XGL_SUCCESS;
}