diff options
author | Chia-I Wu <[email protected]> | 2014-09-19 14:37:56 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-19 16:02:11 +0800 |
commit | 1887d15eede63927152f7f664061e7efe7d16185 (patch) | |
tree | adee58f3222856d43f017bc4cf938284b75f211f /src/gallium/drivers/ilo/ilo_cp.h | |
parent | 270667472fa3e406b4748488718fdb3a7ef24e28 (diff) |
ilo: remove ilo_cp_empty()
Call ilo_builder_batch_used() directly.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_cp.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_cp.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/ilo/ilo_cp.h b/src/gallium/drivers/ilo/ilo_cp.h index 0f27e8e590d..c313745ea87 100644 --- a/src/gallium/drivers/ilo/ilo_cp.h +++ b/src/gallium/drivers/ilo/ilo_cp.h @@ -102,15 +102,6 @@ ilo_cp_set_owner(struct ilo_cp *cp, enum intel_ring_type ring, const struct ilo_cp_owner *owner); /** - * Return true if the parser buffer is empty. - */ -static inline bool -ilo_cp_empty(struct ilo_cp *cp) -{ - return !ilo_builder_batch_used(&cp->builder); -} - -/** * Return the remaining space (in dwords) in the parser buffer. */ static inline int |