microsoft / D3D12TranslationLayer

A library containing utilities for mapping higher-level graphics work to D3D12
MIT License
329 stars 47 forks source link

UnwrapUnderlyingResource crashes on calling it from different thread than where Dx9 resource texture created #83

Open ManjitBeeSys opened 1 year ago

ManjitBeeSys commented 1 year ago

Hello,

I have IDirect3DTexture9 texture created on D3D9on12 device. When i unwrap this texture on same thread where it is created, it works fine. But if i unwrap it on different thread it crashes. Kindly help. Atttaching crash call stack. image

image (1)

tkaushik97 commented 1 year ago

Hi there, I am also facing the same/similiar issue, I am using d3d9On12 API on my dx9 code. I am unwrapping a dx9 texture onto a dx12 resource and using it as SRV for compute shader. If I am trying to render the texture somewhere in dx9. then a similar error of DX12 is coming for SetGraphicsRoot32BitConstant (as shown above in this issue). Can anyone help me out this?

@jenatali FYI.