diff options
author | Jason Ekstrand <[email protected]> | 2016-07-24 00:52:34 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-08-17 14:46:22 -0700 |
commit | d9df82f2fff27460531243c83158eab1215d1c79 (patch) | |
tree | ef58991ac1e802d8c8581b694e2dce2ba5c0b8ed /src/intel/isl/isl.h | |
parent | 3c44d9965374641e73273cd006477ee6a97e8f9f (diff) |
isl: Add helpers for creating different types of aux surfaces
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r-- | src/intel/isl/isl.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index 66dab2642dd..5e56f28545e 100644 --- a/src/intel/isl/isl.h +++ b/src/intel/isl/isl.h @@ -1217,6 +1217,21 @@ isl_surf_get_tile_info(const struct isl_device *dev, const struct isl_surf *surf, struct isl_tile_info *tile_info); +void +isl_surf_get_hiz_surf(const struct isl_device *dev, + const struct isl_surf *surf, + struct isl_surf *hiz_surf); + +void +isl_surf_get_mcs_surf(const struct isl_device *dev, + const struct isl_surf *surf, + struct isl_surf *mcs_surf); + +bool +isl_surf_get_ccs_surf(const struct isl_device *dev, + const struct isl_surf *surf, + struct isl_surf *ccs_surf); + #define isl_surf_fill_state(dev, state, ...) \ isl_surf_fill_state_s((dev), (state), \ &(struct isl_surf_fill_state_info) { __VA_ARGS__ }); |