diff options
author | Nanley Chery <[email protected]> | 2018-04-09 11:20:27 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2018-04-20 17:14:37 -0700 |
commit | 7b2032910761a7e36ceeb498eee4e77c7a916f38 (patch) | |
tree | aba70a99103591ac19cfae969c32aee0cd6bfd0c /src | |
parent | 010abacc95207f600bc750f01d690b1c899e112c (diff) |
i965/miptree: Delete an unused function
We're going to combine ::mcs_buf and ::hiz_buf in later commits. Once
that happens, this function no longer make sense.
Reviewed-by: Rafael Antognolli <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 13 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 4 |
2 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index 0580cc05346..d95128de119 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -3792,19 +3792,6 @@ get_isl_dim_layout(const struct gen_device_info *devinfo, unreachable("Invalid texture target"); } -enum isl_aux_usage -intel_miptree_get_aux_isl_usage(const struct brw_context *brw, - const struct intel_mipmap_tree *mt) -{ - if (mt->hiz_buf) - return ISL_AUX_USAGE_HIZ; - - if (!mt->mcs_buf) - return ISL_AUX_USAGE_NONE; - - return mt->aux_usage; -} - bool intel_miptree_set_clear_color(struct brw_context *brw, struct intel_mipmap_tree *mt, diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h index 4136c6586b6..2f754427fc5 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h @@ -485,10 +485,6 @@ enum isl_dim_layout get_isl_dim_layout(const struct gen_device_info *devinfo, enum isl_tiling tiling, GLenum target); -enum isl_aux_usage -intel_miptree_get_aux_isl_usage(const struct brw_context *brw, - const struct intel_mipmap_tree *mt); - void intel_get_image_dims(struct gl_texture_image *image, int *width, int *height, int *depth); |