-
Notifications
You must be signed in to change notification settings - Fork 47
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
Lacking documentation on Direct3DCreate9On12 #30
Comments
Sorry for the silence, we saw this, but haven't had a chance to put together samples. Hopefully we'll get to it eventually but I don't have a timeframe I can promise. |
I can't even get Direct3DCreate9On12 to make a 9on12 device. It ALWAYS creates a D3D9 one. I have no idea why. I have some test code like so...
Log output is: [08-16-2022, 06:49:19] Adapter description: NVIDIA GeForce RTX 3090 I've even tried simplifying it like so:
.. But I still get E_NOINTERFACE. :( Any ideas why this doesn't work? Do you HAVE to be running a Windows insider build for it to function? I'm just trying to see performance on Windows 11. |
Woops, I'm dumb, I needed to call QueryInterface on the IDirect3DDevice9 device and NOT the Direct3D9 interface. HA! |
Would it be possible to create an example app which is using the D3D9on12 layer end-to-end? For me IDirect3D9 gets created correctly by Direct3DCreate9On12 but when I call:
g_pD3D->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, _hWnd, 0, &g_d3dpp, &g_pd3dDevice);
it fails with HR = 0x8876086C (unable to detect a supported Graphics Card).
Thanks!
The text was updated successfully, but these errors were encountered: