d3d12: Avoid a debug warning trying to unmap a not-mapped resource
authorJesse Natalie <jenatali@microsoft.com>
Wed, 22 Dec 2021 02:22:50 +0000 (18:22 -0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 27 Dec 2021 23:40:25 +0000 (23:40 +0000)
commit5c69c44a997522a94e55a3f3613a27361c3d62e1
treef49488093a3bd2c7f5875ada1d95a210d2d43001
parent0c5fde39e48e9e2adf24308ac7f6489d29a625fa
d3d12: Avoid a debug warning trying to unmap a not-mapped resource

Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14294>
src/gallium/drivers/d3d12/d3d12_bufmgr.cpp