Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ManjitBeeSys opened this issue Jan 11, 2023 · 1 comment

Comments

@ManjitBeeSys
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants