summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_common.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-13 08:54:41 +0800
committerChia-I Wu <[email protected]>2014-09-13 09:33:20 +0800
commit9133784a46b314389b21b8566d821a480edc2cb0 (patch)
tree3140598dcbbf76f184b9bb0dce0573446f9348cc /src/gallium/drivers/ilo/ilo_common.h
parenteca98153e9a0f9e98bd4e45f296f4eb9054767d5 (diff)
ilo: clean up 3DPRIMITIVE functions
Add ILO_PRIM_RECTANGLES to replace the rectlist bool.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_common.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_common.h b/src/gallium/drivers/ilo/ilo_common.h
index ef38e4d486e..a2e74bf0618 100644
--- a/src/gallium/drivers/ilo/ilo_common.h
+++ b/src/gallium/drivers/ilo/ilo_common.h
@@ -52,6 +52,9 @@
#define ILO_DEV_ASSERT(dev, min_gen, max_gen) \
ilo_dev_assert(dev, ILO_GEN(min_gen), ILO_GEN(max_gen))
+#define ILO_PRIM_RECTANGLES PIPE_PRIM_MAX
+#define ILO_PRIM_MAX (PIPE_PRIM_MAX + 1)
+
enum ilo_debug {
ILO_DEBUG_3D = 1 << 0,
ILO_DEBUG_VS = 1 << 1,