anv: enable sampling from fast-cleared images on SKL
A resolve is not needed on Skylake in this case. We were forcing a resolve because we set the input_aux_usage to ISL_AUX_USAGE_NONE. Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
This commit is contained in:
parent
b97faea162
commit
c4c02471f4
|
@ -305,8 +305,8 @@ color_attachment_compute_aux_usage(struct anv_device *device,
|
|||
* doesn't also support color compression.
|
||||
*/
|
||||
att_state->input_aux_usage = ISL_AUX_USAGE_NONE;
|
||||
} else if (GEN_GEN == 8) {
|
||||
/* Broadwell can sample from fast-cleared images */
|
||||
} else if (GEN_GEN >= 8) {
|
||||
/* Broadwell/Skylake can sample from fast-cleared images */
|
||||
att_state->input_aux_usage = ISL_AUX_USAGE_CCS_D;
|
||||
} else {
|
||||
/* Ivy Bridge and Haswell cannot */
|
||||
|
|
Loading…
Reference in New Issue