commit | 0b78444c32d7420e3ca165db8d6a06907818679e | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olvaffe@gmail.com> | Mon Aug 25 22:54:16 2014 +0800 |
committer | Chia-I Wu <olvaffe@gmail.com> | Mon Aug 25 23:13:26 2014 +0800 |
tree | 5efe0b35111301e87dcc8c2b808b06df38e51ca2 | |
parent | ec84172dc57c1c3cdf7b4067882fb6d215a68cde [diff] [blame] |
intel: add a command buffer scratch bo It is owned by intel_dev so that all command buffers can share it. Will be used for workarounds.
diff --git a/icd/intel/cmd.c b/icd/intel/cmd.c index a7e6dc7..ebf84a4 100644 --- a/icd/intel/cmd.c +++ b/icd/intel/cmd.c
@@ -179,6 +179,7 @@ cmd->obj.destroy = cmd_destroy; cmd->dev = dev; + cmd->scratch_bo = dev->cmd_scratch_bo; cmd->pipeline_select = pipeline_select; /*