[Mesa-dev] [PATCH 35/64] isl: Add an ISL_DEV_IS_G4X macro
Jason Ekstrand
jason at jlekstrand.net
Sat Jun 11 16:02:50 UTC 2016
---
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