commit | 049667050951aa0570587860c588874176047cf8 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olvaffe@gmail.com> | Wed Aug 20 15:05:03 2014 +0800 |
committer | Chia-I Wu <olvaffe@gmail.com> | Wed Aug 20 15:06:30 2014 +0800 |
tree | 2d0368e3ea405c408350a701082a55b7fc17ea06 | |
parent | 06bed1911719f342ac93a53ead2cccfd97afec7b [diff] [blame] |
intel: allow cmd building to record an error Generalize "bool grow_fail" to "XGL_RESULT result" to record the last error.
diff --git a/icd/intel/cmd.h b/icd/intel/cmd.h index f466609..9a7025b 100644 --- a/icd/intel/cmd.h +++ b/icd/intel/cmd.h
@@ -40,7 +40,7 @@ uint32_t *ptr; XGL_UINT used, size; - bool grow_failed; + XGL_RESULT result; }; static inline struct intel_cmd *intel_cmd(XGL_CMD_BUFFER cmd)