iris: Allow HiZ on blit sources
Ever since 95cc5438eb
, BLORP has been able to read from HiZ-compressed
depth buffers as long as the sampler supports HiZ. This just makes iris
stop doing the unneeded resolve.
Closes: #2583
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3717>
This commit is contained in:
parent
9f5f4269a6
commit
4531f0ffce
|
@ -355,7 +355,7 @@ iris_blit(struct pipe_context *ctx, const struct pipe_blit_info *info)
|
|||
iris_resource_texture_aux_usage(ice, src_res, src_fmt.fmt);
|
||||
|
||||
if (iris_resource_level_has_hiz(src_res, info->src.level))
|
||||
src_aux_usage = ISL_AUX_USAGE_NONE;
|
||||
assert(src_res->surf.format == src_fmt.fmt);
|
||||
|
||||
bool src_clear_supported = isl_aux_usage_has_fast_clears(src_aux_usage) &&
|
||||
src_res->surf.format == src_fmt.fmt;
|
||||
|
|
Loading…
Reference in New Issue