From c6b86e3c40f782647e3d34859d633158a52cc072 Mon Sep 17 00:00:00 2001 From: moudgils <47460854+moudgils@users.noreply.github.com> Date: Wed, 30 Jun 2021 23:23:55 -0700 Subject: [PATCH] Remove an assert (#1712) Signed-off-by: moudgils Remove this assert as it was firing for swapchain imageview. --- Gems/Atom/RHI/Metal/Code/Source/RHI/ImageView.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Gems/Atom/RHI/Metal/Code/Source/RHI/ImageView.cpp b/Gems/Atom/RHI/Metal/Code/Source/RHI/ImageView.cpp index 6e0ea961f0..652f60e2fc 100644 --- a/Gems/Atom/RHI/Metal/Code/Source/RHI/ImageView.cpp +++ b/Gems/Atom/RHI/Metal/Code/Source/RHI/ImageView.cpp @@ -61,7 +61,6 @@ namespace AZ //If view format is invalid use the base texture's format if(textureViewFormat == MTLPixelFormatInvalid) { - AZ_Assert(false,"View format is invalid"); textureViewFormat = textureFormat; }