[Mesa-dev] [PATCH v2 04/34] isl: Add an ISL_DEV_IS_G4X macro
Jason Ekstrand
jason at jlekstrand.net
Thu Jun 23 21:00:03 UTC 2016
Reviewed-by: Chad Versace <chad.versace at intel.com>
---
src/intel/isl/isl.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index ef86228..3bf7469 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -65,6 +65,10 @@ struct brw_image_param;
(assert(ISL_DEV_GEN(__dev) == (__dev)->info->gen))
#endif
+#ifndef ISL_DEV_IS_G4X
+#define ISL_DEV_IS_G4X(__dev) ((__dev)->info->is_g4x)
+#endif
+
#ifndef ISL_DEV_IS_HASWELL
/**
* @brief Get the hardware generation of isl_device.
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list