anv/image: Add an aux_usage field for "default" aux

Initially, the field is set to ISL_AUX_USAGE_NONE so this commit shouldn't
bring any functional changes.  Setting this field to something else will
cause all sampled and storage image views to be created with AUX and blorp
will start trying to respect it so set with care.
This commit is contained in:
Jason Ekstrand
2016-10-25 10:32:18 -07:00
parent 338cdc172a
commit edb7f67bd9
4 changed files with 45 additions and 19 deletions

View File

@@ -1555,6 +1555,9 @@ struct anv_image {
};
};
/** The aux usage for this surface when outside a render pass */
enum isl_aux_usage aux_usage;
struct anv_surface aux_surface;
};