diff --git a/projects/clr/rocclr/runtime/device/pal/palresource.cpp b/projects/clr/rocclr/runtime/device/pal/palresource.cpp index 39af9b9283..9a1c94df76 100644 --- a/projects/clr/rocclr/runtime/device/pal/palresource.cpp +++ b/projects/clr/rocclr/runtime/device/pal/palresource.cpp @@ -1692,7 +1692,6 @@ void* Resource::map(VirtualGPU* gpu, uint flags, uint startLayer, uint numLayers } if (flags & ReadOnly) { - assert(!(flags & Discard) && "We can't use lock discard with read only!"); } if (flags & WriteOnly) {