Fix random d3d12 crash related to readTextureResource(). (#2075)
Fix random d3d12 crash related to readTextureResource(). (#2075)

* Fix D3D12 random crash.

* Trigger

* Trigger

* Trigger1

* Trigger2

* Trigger3

* Trigger4

* Trigger5

* Trigger6

* Trigger7

* Trigger8

* Trigger9

* Trigger10

Co-authored-by: Yong He <6f8726bda63d9802f9f6015cfa021a7333fe9606@nvidia.com>
shader-slang/slang,csyonghe/slang,csyonghe/slang,shader-slang/slang,shader-slang/slang,csyonghe/slang