anv,blorp,isl: handle compressed CPS surfaces through the depth stencil hw
Compressed CPS surfaces operations such as copies and clears need to be handled through the depth stencil hw to ensure that the aux data is handled correctly. Signed-off-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20741>
This commit is contained in:
@@ -1892,7 +1892,8 @@ try_blorp_blit(struct blorp_batch *batch,
|
||||
} else {
|
||||
key->dst_usage = ISL_SURF_USAGE_RENDER_TARGET_BIT;
|
||||
}
|
||||
} else if (params->dst.surf.usage & ISL_SURF_USAGE_STENCIL_BIT) {
|
||||
} else if (params->dst.surf.usage & (ISL_SURF_USAGE_STENCIL_BIT |
|
||||
ISL_SURF_USAGE_CPB_BIT)) {
|
||||
assert(params->dst.surf.format == ISL_FORMAT_R8_UINT);
|
||||
if (devinfo->ver >= 9 && !(batch->flags & BLORP_BATCH_USE_COMPUTE)) {
|
||||
key->dst_usage = ISL_SURF_USAGE_STENCIL_BIT;
|
||||
|
||||
Reference in New Issue
Block a user