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:
9bfad48
)
intel: suppress PIPE_CONTROL with 0 flags
author
Mike Stroyan
<mike@LunarG.com>
Sat, 31 Jan 2015 00:21:08 +0000
(17:21 -0700)
committer
Mike Stroyan
<mike@LunarG.com>
Thu, 12 Feb 2015 17:42:15 +0000
(10:42 -0700)
icd/intel/cmd_pipeline.c
patch
|
blob
|
history
diff --git
a/icd/intel/cmd_pipeline.c
b/icd/intel/cmd_pipeline.c
index
26db520
..
ac6e68c
100644
(file)
--- a/
icd/intel/cmd_pipeline.c
+++ b/
icd/intel/cmd_pipeline.c
@@
-1210,6
+1210,9
@@
void cmd_batch_state_base_address(struct intel_cmd *cmd)
void cmd_batch_flush(struct intel_cmd *cmd, uint32_t pipe_control_dw0)
{
+ if (pipe_control_dw0 == 0)
+ return;
+
if (!cmd->bind.draw_count)
return;