mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 20:50:09 +01:00
anv/blorp: Delete a pointless assert
Just a little higher up in the function we assert that the aspect masks are actually equal so there's no reason for the weaker check. Also, the temporary variables were causing compiler warnings in release builds. Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
This commit is contained in:
parent
b14d7a6b60
commit
cd60c995a6
1 changed files with 0 additions and 5 deletions
|
|
@ -1276,11 +1276,6 @@ void anv_CmdResolveImage(
|
|||
const uint32_t layer_count =
|
||||
anv_get_layerCount(dst_image, &pRegions[r].dstSubresource);
|
||||
|
||||
VkImageAspectFlags src_mask = pRegions[r].srcSubresource.aspectMask;
|
||||
VkImageAspectFlags dst_mask = pRegions[r].dstSubresource.aspectMask;
|
||||
|
||||
assert(anv_image_aspects_compatible(src_mask, dst_mask));
|
||||
|
||||
uint32_t aspect_bit;
|
||||
anv_foreach_image_aspect_bit(aspect_bit, src_image,
|
||||
pRegions[r].srcSubresource.aspectMask) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue