diff options
author | Jason Ekstrand <[email protected]> | 2016-06-03 16:10:20 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-07-15 15:53:48 -0700 |
commit | e974456d4f2f3977c07ebe2e931d8d361076a2d2 (patch) | |
tree | 6c4cd0a22ee1efe8c0d2fe2290c1d26f35fa14e1 /src/mesa/drivers/dri/i965/intel_mipmap_tree.h | |
parent | 1e45349e82e15100f51127213a537e7e5c9ab335 (diff) |
i965/miptree: Add a helper for getting the aux isl_surf from a miptree
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_mipmap_tree.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h index a50f181690d..4388741772a 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h @@ -801,6 +801,11 @@ void intel_miptree_get_isl_surf(struct brw_context *brw, const struct intel_mipmap_tree *mt, struct isl_surf *surf); +void +intel_miptree_get_aux_isl_surf(struct brw_context *brw, + const struct intel_mipmap_tree *mt, + struct isl_surf *surf, + enum isl_aux_usage *usage); union isl_color_value intel_miptree_get_isl_clear_color(struct brw_context *brw, |