浏览代码

isl: Add a #define for DEV_IS_BAYTRAIL

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
tags/13.0-branchpoint
Jason Ekstrand 9 年前
父节点
当前提交
3c75b315e1
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      src/intel/isl/isl.h

+ 4
- 0
src/intel/isl/isl.h 查看文件

@@ -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,

正在加载...
取消
保存