Browse Source

isl: Add a #define for DEV_IS_BAYTRAIL

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
tags/13.0-branchpoint
Jason Ekstrand 9 years ago
parent
commit
3c75b315e1
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/intel/isl/isl.h

+ 4
- 0
src/intel/isl/isl.h View File

@@ -79,6 +79,10 @@ struct brw_image_param;
#define ISL_DEV_IS_HASWELL(__dev) ((__dev)->info->is_haswell)
#endif

#ifndef ISL_DEV_IS_BAYTRAIL
#define ISL_DEV_IS_BAYTRAIL(__dev) ((__dev)->info->is_baytrail)
#endif

#ifndef ISL_DEV_USE_SEPARATE_STENCIL
/**
* You can define this as a compile-time constant in the CFLAGS. For example,

Loading…
Cancel
Save